[Bf-blender-cvs] [8a1c1279b3d] master: Icons: update alert icon script

Campbell Barton noreply at git.blender.org
Wed Aug 4 03:36:01 CEST 2021


Commit: 8a1c1279b3d9c5478d7e94c4875c141db750fbcb
Author: Campbell Barton
Date:   Wed Aug 4 11:03:23 2021 +1000
Branches: master
https://developer.blender.org/rB8a1c1279b3d9c5478d7e94c4875c141db750fbcb

Icons: update alert icon script

Missed from c549d736cff0d5013f05fb5240ef07671c5aa5ce.

===================================================================

M	release/datafiles/alert_icons_update.py

===================================================================

diff --git a/release/datafiles/alert_icons_update.py b/release/datafiles/alert_icons_update.py
index dba96c2126a..95e4ee7afbb 100644
--- a/release/datafiles/alert_icons_update.py
+++ b/release/datafiles/alert_icons_update.py
@@ -10,7 +10,7 @@ BASEDIR = os.path.abspath(os.path.dirname(__file__))
 inkscape_path = 'inkscape'
 
 if sys.platform == 'darwin':
-    inkscape_app_path = '/Applications/Inkscape.app/Contents/Resources/script'
+    inkscape_app_path = '/Applications/Inkscape.app/Contents/MacOS/inkscape'
     if os.path.exists(inkscape_app_path):
         inkscape_path = inkscape_app_path
 
@@ -19,7 +19,7 @@ cmd = (
     os.path.join(BASEDIR, "alert_icons.svg"),
     "--export-width=1280",
     "--export-height=256",
-    "--without-gui",
-    "--export-png=" + os.path.join(BASEDIR, "alert_icons.png"),
+    "--export-type=png",
+    "--export-filename=" + os.path.join(BASEDIR, "alert_icons.png"),
 )
 subprocess.check_call(cmd)



More information about the Bf-blender-cvs mailing list