added empty OCIO env variable to prevent running with custom color configuration

This commit is contained in:
Mathis Waldmann
2021-05-27 22:36:41 +02:00
parent 112d1ad78f
commit 8aab044231

View File

@@ -233,6 +233,7 @@ import java.util.regex.Pattern;
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("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) {
switch (arg) {