Fix: Remove the explicit setting of pythonpath/pythonhome

This commit is contained in:
Space
2022-09-29 14:07:17 +00:00
committed by harlekin
parent 395ae282b8
commit 56c6e9a9f5

View File

@@ -218,9 +218,6 @@ import java.util.regex.Pattern;
new_env.put("BLENDER_SYSTEM_SCRIPTS", ""); new_env.put("BLENDER_SYSTEM_SCRIPTS", "");
new_env.put("BLENDER_USER_DATAFILES", ""); new_env.put("BLENDER_USER_DATAFILES", "");
new_env.put("BLENDER_SYSTEM_DATAFILES", ""); new_env.put("BLENDER_SYSTEM_DATAFILES", "");
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 new_env.put("OCIO", ""); //prevent blender from loading a non-standard color configuration
for (String arg : command1) { for (String arg : command1) {