blender_icons_update script: run Blender in factory startup.

Can avoid some stupid issues with custom addons etc.
This commit is contained in:
Bastien Montagne 2017-12-18 10:47:02 +01:00
parent 9052db809f
commit 98aa51ffa1
1 changed files with 2 additions and 2 deletions

View File

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