added empty OCIO env variable to prevent running with custom color configuration
This commit is contained in:
@@ -233,6 +233,7 @@ import java.util.regex.Pattern;
|
|||||||
new_env.put("BLENDER_SYSTEM_PYTHON", "");
|
new_env.put("BLENDER_SYSTEM_PYTHON", "");
|
||||||
new_env.put("PYTHONPATH", ""); // make sure blender is using the embedded python, if not it could create "Fatal Python error: Py_Initialize"
|
new_env.put("PYTHONPATH", ""); // make sure blender is using the embedded python, if not it could create "Fatal Python error: Py_Initialize"
|
||||||
new_env.put("PYTHONHOME", "");// make sure blender is using the embedded python, if not it could create "Fatal Python error: Py_Initialize"
|
new_env.put("PYTHONHOME", "");// make sure blender is using the embedded python, if not it could create "Fatal Python error: Py_Initialize"
|
||||||
|
new_env.put("OCIO", ""); //prevent blender from loading a non-standard color configuration
|
||||||
|
|
||||||
for (String arg : command1) {
|
for (String arg : command1) {
|
||||||
switch (arg) {
|
switch (arg) {
|
||||||
|
|||||||
Reference in New Issue
Block a user