Blender Git Commit Log
Git Commits -> Revision c7b5871
Revision c7b5871 by Brecht Van Lommel (master) April 11, 2009, 02:18 (GMT) |
UI: * Added very basic loading of .py files on startup to define panels. It now executes all .py files in .blender/ui on startup. Right now this contains the object buttons, the C code for it is commented out. These files should get embedded in the blender executable as well eventually, that's a bit more complicated so this works for now. * For scons and cmake it seems to copy & find the files OK, for make only "make release" works (same with scripts/ folder it seems). * Added BLI_gethome_folder function in BLI_util.h. This is adapted from bpy_gethome, and gives the path to a folder in .blender like scripts or ui. There's plenty of things to figure out here about paths, embedding, caching, user configs ... |
Commit Details:
Full Hash: c7b587105fae174c47bd29291ac384037af06685
SVN Revision: 19652
Parent Commit: 3ed5e21
Lines Changed: +300, -4
1 Added Path:
/release/ui/buttons_objects.py (+124, -0) (View)
10 Modified Paths:
/release/Makefile (+3, -0) (Diff)
/SConstruct (+11, -0) (Diff)
/source/blender/blenlib/BLI_util.h (+2, -0) (Diff)
/source/blender/blenlib/intern/util.c (+96, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/editors/space_buttons/buttons_object.c (+4, -0) (Diff)
/source/blender/python/BPY_extern.h (+1, -0) (Diff)
/source/blender/python/intern/bpy_interface.c (+52, -4) (Diff)
/source/creator/CMakeLists.txt (+4, -0) (Diff)
/source/creator/creator.c (+2, -0) (Diff)
/SConstruct (+11, -0) (Diff)
/source/blender/blenlib/BLI_util.h (+2, -0) (Diff)
/source/blender/blenlib/intern/util.c (+96, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/editors/space_buttons/buttons_object.c (+4, -0) (Diff)
/source/blender/python/BPY_extern.h (+1, -0) (Diff)
/source/blender/python/intern/bpy_interface.c (+52, -4) (Diff)
/source/creator/CMakeLists.txt (+4, -0) (Diff)
/source/creator/creator.c (+2, -0) (Diff)