Blender Git Loki

Git Commits -> Revision 94902da

Revision 94902da by Brecht Van Lommel (master)
May 21, 2009, 15:34 (GMT)
2.5 UI: Modifier Template

* template_modifier creates the modifier box, and returns a layout
to put the buttons in.
* Only the armature modifier is now done with python code, all other
modifiers use C code. To convert a modifier to python, remove the
corresponding C code and create a function in DATA_PT_modifiers.
* Some modifiers still require some RNA work to get it working well,
especially to make pointers editable. Mostly that is a matter of
defining an own _set callback and put some of the modifier C code
into it.
* Still various buttons that don't work, like for hooks or mesh
deform binding.
* Fix for crashing decimate modifier (still disabled).

* Removed UI_BUT_NO_HILITE, HMENU.
* Make uiLayoutBox work with align.

Commit Details:

Full Hash: 94902dac977cfc089e9740782a19c6ab370cdc03
SVN Revision: 20319
Parent Commit: 65143c5
Lines Changed: +1899, -122

19 Modified Paths:

/release/ui/buttons_data_modifier.py (+6, -18) (Diff)
/source/blender/blenkernel/BKE_object.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/modifier.c (+9, -6) (Diff)
/source/blender/blenkernel/intern/object.c (+12, -0) (Diff)
/source/blender/editors/include/ED_object.h (+8, -1) (Diff)
/source/blender/editors/include/UI_interface.h (+4, -5) (Diff)
/source/blender/editors/interface/interface.c (+4, -11) (Diff)
/source/blender/editors/interface/interface_api.c (+8, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+24, -35) (Diff)
/source/blender/editors/interface/interface_intern.h (+1, -1) (Diff)
/source/blender/editors/interface/interface_layout.c (+23, -4) (Diff)
/source/blender/editors/interface/interface_regions.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_templates.c (+1428, -0) (Diff)
/source/blender/editors/interface/interface_widgets.c (+0, -1) (Diff)
/source/blender/editors/object/object_edit.c (+0, -15) (Diff)
/source/blender/editors/object/object_modifier.c (+345, -1) (Diff)
/source/blender/makesrna/intern/rna_access.c (+4, -1) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+21, -21) (Diff)
/source/blender/python/intern/bpy_ui.c (+0, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021