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:
authorCampbell Barton <ideasman42@gmail.com>2014-01-13 16:18:25 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-13 16:18:25 +0400
commitdaedf5be8c077689af1987fd6932568d9ad64a9f (patch)
tree667f3a46a3a765f7af4bed2a6484e4acbc7457d2 /release/datafiles/prvicons_update.py
parent2ebe4f69a90913ca89d508b060b5f5470361265f (diff)
UI Icons: use a python script rather then a shell (for non unix systems)
Diffstat (limited to 'release/datafiles/prvicons_update.py')
-rwxr-xr-xrelease/datafiles/prvicons_update.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/release/datafiles/prvicons_update.py b/release/datafiles/prvicons_update.py
new file mode 100755
index 00000000000..ecc466aab72
--- /dev/null
+++ b/release/datafiles/prvicons_update.py
@@ -0,0 +1,10 @@
+#!/usr/bin/env python3
+
+# This script updates icons from the SVG file
+import os
+
+BASEDIR = os.path.abspath(os.path.dirname(__file__)) + os.sep
+
+cmd = 'inkscape "%sprvicons.svg" --without-gui --export-png="%sprvicons.png"' % (BASEDIR, BASEDIR)
+os.system(cmd)
+