Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2019-06-15 20:30:31 +0300
committerRay Molenkamp <github@lazydodo.com>2019-06-15 20:30:31 +0300
commit2db35ff03aeb55d37064fb4b4b6ff64a0a6ab902 (patch)
tree2e7c07246213d4d1f4ccebd12e059c4dd951f203 /release/windows/batch/blender_factory_startup.cmd
parentaaf65749e9df7349cdbffd2cce05717783dad1f5 (diff)
Windows: Clear PYTHONPATH variable in various debugging batch files.
The PYTHONPATH environment variable sometimes causes issues, clearing it in the helper batch files is easier than talking every user individually though the process of removing it to see if it resolves the issue they are having.
Diffstat (limited to 'release/windows/batch/blender_factory_startup.cmd')
-rw-r--r--release/windows/batch/blender_factory_startup.cmd1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/windows/batch/blender_factory_startup.cmd b/release/windows/batch/blender_factory_startup.cmd
index b8d84e8655f..a1ee75e512d 100644
--- a/release/windows/batch/blender_factory_startup.cmd
+++ b/release/windows/batch/blender_factory_startup.cmd
@@ -11,5 +11,6 @@ pause
mkdir "%temp%\blender\debug_logs" > NUL 2>&1
echo.
echo Starting blender and waiting for it to exit....
+set PYTHONPATH=
blender --factory-startup --python-expr "import bpy; bpy.ops.wm.sysinfo(filepath=r'%temp%\blender\debug_logs\blender_system_info.txt')" > "%temp%\blender\debug_logs\blender_debug_output.txt" 2>&1
explorer "%temp%\blender\debug_logs"