Blender Git Loki
Git Commits -> Revision bab4cd6
Revision bab4cd6 by Campbell Barton (master) February 28, 2009, 13:27 (GMT) |
Python experimental UI API Can draw panels in the scripts space containing RNA and operator buttons. * Added bpyui.register() so scripts can draw buttons and panels into the scripts space type. * wrapped drawBlock, drawPanels and matchPanelsView2d * Operator buttons take a python dictionary used to set the button defaults. * BPY_getFileAndNum utility function to get the filename and line number python is currently running. |
Commit Details:
Full Hash: bab4cd69913eee9aa30d61db7dc46e21655e4bde
SVN Revision: 19142
Parent Commit: 0f89696
Lines Changed: +317, -10
7 Modified Paths:
/source/blender/editors/space_script/space_script.c (+13, -2) (Diff)
/source/blender/python/BPY_extern.h (+8, -1) (Diff)
/source/blender/python/intern/bpy_interface.c (+130, -0) (Diff)
/source/blender/python/intern/bpy_operator.h (+2, -1) (Diff)
/source/blender/python/intern/bpy_ui.c (+123, -5) (Diff)
/source/blender/python/intern/bpy_util.c (+40, -0) (Diff)
/source/blender/python/intern/bpy_util.h (+1, -1) (Diff)
/source/blender/python/BPY_extern.h (+8, -1) (Diff)
/source/blender/python/intern/bpy_interface.c (+130, -0) (Diff)
/source/blender/python/intern/bpy_operator.h (+2, -1) (Diff)
/source/blender/python/intern/bpy_ui.c (+123, -5) (Diff)
/source/blender/python/intern/bpy_util.c (+40, -0) (Diff)
/source/blender/python/intern/bpy_util.h (+1, -1) (Diff)