Blender Git Loki
Git Commits -> Revision 376ee50
December 29, 2006, 04:46 (GMT) |
* Dynamic icon file loading and themeability This patch allows icon files (.png) to be loaded into Blender dynamically, without having to go through the tedious and technical process of compiling them in. It also makes them part of the theme settings so they can be attached as part of a theme and saved in the default .B.blend. Icon files should be stored in $HOME/.blender/icons/ . This really sucks on Mac since it's hidden in the finder, but it's a separate issue. We need a better system of finding things like this, python scripts etc, perhaps a nice wrapped function something like BLI_getresourcedir(), then it's easy to do platform specific stuff there, like using ~/Library/Application Data on Mac. More info and docs in the patch tracker @ https://projects.blender.org/tracker/index.php?func=detail&aid=5334&group_id=9&atid=127 |
Commit Details:
Full Hash: 376ee50d3e94c01707ae433e3642ec685e3b25cd
SVN Revision: 9524
Parent Commit: 37c42e2
Lines Changed: +222, -13
8 Modified Paths:
/source/blender/include/BIF_interface_icons.h (+11, -0) (Diff)
/source/blender/include/BIF_resources.h (+1, -0) (Diff)
/source/blender/include/BIF_space.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+2, -1) (Diff)
/source/blender/src/interface_icons.c (+133, -3) (Diff)
/source/blender/src/resources.c (+8, -1) (Diff)
/source/blender/src/space.c (+61, -5) (Diff)
/source/blender/src/usiblender.c (+5, -3) (Diff)
/source/blender/include/BIF_resources.h (+1, -0) (Diff)
/source/blender/include/BIF_space.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+2, -1) (Diff)
/source/blender/src/interface_icons.c (+133, -3) (Diff)
/source/blender/src/resources.c (+8, -1) (Diff)
/source/blender/src/space.c (+61, -5) (Diff)
/source/blender/src/usiblender.c (+5, -3) (Diff)