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:47:33 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-13 17:14:03 +0400
commit4c9a3a53bd3154954bc2bcf73684b87a79332a71 (patch)
treeca297c79f831f46117e1638640a187e98ddbd01c /source/blender/editors/datafiles
parent08981f3a91a687efa8d28d308d6033e5a9e68b1f (diff)
UI Icons: store icons in git as uncompressed pixmaps (D196)
this allows for updating icons without committing a new PNG each time (which is inefficient with git). The data files are converted into a PNG at builds time and used just as they were before.
Diffstat (limited to 'source/blender/editors/datafiles')
-rw-r--r--source/blender/editors/datafiles/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/editors/datafiles/CMakeLists.txt b/source/blender/editors/datafiles/CMakeLists.txt
index 6adc500baa4..35a669175df 100644
--- a/source/blender/editors/datafiles/CMakeLists.txt
+++ b/source/blender/editors/datafiles/CMakeLists.txt
@@ -51,11 +51,14 @@ if(WITH_BLENDER)
#svg_to_png(../../../../release/datafiles/blender_icons.svg
#../../../../release/datafiles/blender_icons16.png
#90 SRC)
- data_to_c_simple(../../../../release/datafiles/blender_icons16.png SRC)
+
+ data_to_c_simple_icons(../../../../release/datafiles/blender_icons16 SRC)
+ #data_to_c_simple(../../../../release/datafiles/blender_icons16.png SRC)
#svg_to_png(../../../../release/datafiles/blender_icons.svg
#../../../../release/datafiles/blender_icons32.png
#180 SRC)
- data_to_c_simple(../../../../release/datafiles/blender_icons32.png SRC)
+ data_to_c_simple_icons(../../../../release/datafiles/blender_icons32 SRC)
+ #data_to_c_simple(../../../../release/datafiles/blender_icons32.png SRC)
#svg_to_png(../../../../release/datafiles/prvicons.svg
#../../../../release/datafiles/prvicons.png
#90 SRC)