-
- Downloads
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 ...
Showing
- SConstruct 11 additions, 0 deletionsSConstruct
- release/Makefile 3 additions, 0 deletionsrelease/Makefile
- release/ui/buttons_objects.py 124 additions, 0 deletionsrelease/ui/buttons_objects.py
- source/blender/blenlib/BLI_util.h 2 additions, 0 deletionssource/blender/blenlib/BLI_util.h
- source/blender/blenlib/intern/util.c 96 additions, 0 deletionssource/blender/blenlib/intern/util.c
- source/blender/blenloader/intern/readfile.c 1 addition, 0 deletionssource/blender/blenloader/intern/readfile.c
- source/blender/editors/space_buttons/buttons_object.c 4 additions, 0 deletionssource/blender/editors/space_buttons/buttons_object.c
- source/blender/python/BPY_extern.h 1 addition, 0 deletionssource/blender/python/BPY_extern.h
- source/blender/python/intern/bpy_interface.c 52 additions, 4 deletionssource/blender/python/intern/bpy_interface.c
- source/creator/CMakeLists.txt 4 additions, 0 deletionssource/creator/CMakeLists.txt
- source/creator/creator.c 2 additions, 0 deletionssource/creator/creator.c
release/ui/buttons_objects.py
0 → 100644
Please register or sign in to comment