Blender Git Commit Log
Git Commits -> Revision ab8ccaa
Revision ab8ccaa by Campbell Barton (master) August 11, 2010, 15:11 (GMT) |
python declarative UI - remove XML testing feature - add 2 modules: bpyml - generic, bpyml_ui - blender spesific. nothing uses these now. ==bpyml_ui module== defines BPyML_BaseUI and its draw() function which uses the bpyml member of the class instance self.draw_data & self.draw_header_data. This way declarative ui is opt-in and easy to use by using BPyML_BaseUI as a mix-in class. ==bpyml module== This module translates a python like XML representation into XML or simple python blender/ui function calls. sometag(arg=10) [ another(), another(key="value") ] # converts into ... <sometag arg="10"> <another/> <another key="value" /> </sometag> |
Commit Details:
Full Hash: ab8ccaa7098f6fee887f2a249fddada7864cd6c5
SVN Revision: 31238
Parent Commit: 2a72eb8
Lines Changed: +307, -268
2 Added Paths:
/release/scripts/modules/bpyml.py (+204, -0) (View)
/release/scripts/modules/bpyml_ui.py (+100, -0) (View)
/release/scripts/modules/bpyml_ui.py (+100, -0) (View)
2 Deleted Paths:
/release/scripts/modules/bpy_xml_ui.py (+0, -151)
/release/scripts/ui/properties_render_test.xml (+0, -79)
/release/scripts/ui/properties_render_test.xml (+0, -79)