forked from bartvdbraak/blender
Use factory startup for icon generation
Avoids using local preferences.
This commit is contained in:
parent
1164a70634
commit
9a5d198cd2
@ -48,7 +48,7 @@ datatoc_icon_split_py = os.path.join(BASEDIR, "..", "..", "source", "blender", "
|
|||||||
|
|
||||||
# create .dat pixmaps (which are stored in git)
|
# create .dat pixmaps (which are stored in git)
|
||||||
cmd = (
|
cmd = (
|
||||||
blender_bin, "--background", "-noaudio",
|
blender_bin, "--background", "--factory-startup", "-noaudio",
|
||||||
"--python", datatoc_icon_split_py, "--",
|
"--python", datatoc_icon_split_py, "--",
|
||||||
"--image=" + os.path.join(BASEDIR, "blender_icons16.png"),
|
"--image=" + os.path.join(BASEDIR, "blender_icons16.png"),
|
||||||
"--output=" + os.path.join(BASEDIR, "blender_icons16"),
|
"--output=" + os.path.join(BASEDIR, "blender_icons16"),
|
||||||
@ -62,7 +62,7 @@ cmd = (
|
|||||||
run(cmd)
|
run(cmd)
|
||||||
|
|
||||||
cmd = (
|
cmd = (
|
||||||
blender_bin, "--background", "-noaudio",
|
blender_bin, "--background", "--factory-startup", "-noaudio",
|
||||||
"--python", datatoc_icon_split_py, "--",
|
"--python", datatoc_icon_split_py, "--",
|
||||||
"--image=" + os.path.join(BASEDIR, "blender_icons32.png"),
|
"--image=" + os.path.join(BASEDIR, "blender_icons32.png"),
|
||||||
"--output=" + os.path.join(BASEDIR, "blender_icons32"),
|
"--output=" + os.path.join(BASEDIR, "blender_icons32"),
|
||||||
|
Loading…
Reference in New Issue
Block a user