Use factory startup for icon generation
authorCampbell Barton <ideasman42@gmail.com>
Sun, 28 Jan 2018 05:03:32 +0000 (16:03 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 28 Jan 2018 05:03:32 +0000 (16:03 +1100)
Avoids using local preferences.

release/datafiles/blender_icons_update.py

index 664915cc10b7a16143317e9ad766940ebb416720..68f4ef23082a64bc2fbf35fa1da9ed4b711d43f1 100755 (executable)
@@ -48,7 +48,7 @@ datatoc_icon_split_py = os.path.join(BASEDIR, "..", "..", "source", "blender", "
 
 # create .dat pixmaps (which are stored in git)
 cmd = (
-    blender_bin, "--background", "-noaudio",
+    blender_bin, "--background", "--factory-startup", "-noaudio",
     "--python", datatoc_icon_split_py, "--",
     "--image=" + os.path.join(BASEDIR, "blender_icons16.png"),
     "--output=" + os.path.join(BASEDIR, "blender_icons16"),
@@ -62,7 +62,7 @@ cmd = (
 run(cmd)
 
 cmd = (
-    blender_bin, "--background", "-noaudio",
+    blender_bin, "--background", "--factory-startup", "-noaudio",
     "--python", datatoc_icon_split_py, "--",
     "--image=" + os.path.join(BASEDIR, "blender_icons32.png"),
     "--output=" + os.path.join(BASEDIR, "blender_icons32"),