From 8aab044231ab37b63c5bcd760922eb5485e98cc0 Mon Sep 17 00:00:00 2001 From: Mathis Waldmann Date: Thu, 27 May 2021 22:36:41 +0200 Subject: [PATCH] added empty OCIO env variable to prevent running with custom color configuration --- src/com/sheepit/client/Job.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/sheepit/client/Job.java b/src/com/sheepit/client/Job.java index e4dfbca..288b9f8 100644 --- a/src/com/sheepit/client/Job.java +++ b/src/com/sheepit/client/Job.java @@ -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) {