Blender Git Loki
Git Commits -> Revision e732ede
Revision e732ede by Julian Eisel (temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) April 10, 2015, 15:08 (GMT) |
Initial support for user defined Object Widgets Adds a Panel to the Object Context in the Properties Editor, currently only containing a Menu to Add widgets. The menu contains 4 items, Translate, Rotate, Scale and Custom, whereby we currently only draw a translate widget for all of them. So yes, basic drawing also works. Important is, that this makes it possible for users to attach custom widgets to Objects. (Only the manipulator for the selected object is drawn). |
Commit Details:
Full Hash: e732ede8bb74c405d3806bed0c157cce121da4db
Parent Commit: 0457d74
Lines Changed: +150, -2
12 Modified Paths:
/release/scripts/startup/bl_ui/properties_object.py (+10, -0) (Diff)
/source/blender/editors/include/ED_transform.h (+2, -0) (Diff)
/source/blender/editors/object/object_edit.c (+49, -0) (Diff)
/source/blender/editors/object/object_intern.h (+2, -0) (Diff)
/source/blender/editors/object/object_ops.c (+2, -0) (Diff)
/source/blender/editors/transform/manipulator_widget.c (+41, -0) (Diff)
/source/blender/makesdna/DNA_object_types.h (+3, -1) (Diff)
/source/blender/makesdna/DNA_widget_types.h (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_object.c (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+24, -0) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+1, -0) (Diff)
/source/blender/editors/include/ED_transform.h (+2, -0) (Diff)
/source/blender/editors/object/object_edit.c (+49, -0) (Diff)
/source/blender/editors/object/object_intern.h (+2, -0) (Diff)
/source/blender/editors/object/object_ops.c (+2, -0) (Diff)
/source/blender/editors/transform/manipulator_widget.c (+41, -0) (Diff)
/source/blender/makesdna/DNA_object_types.h (+3, -1) (Diff)
/source/blender/makesdna/DNA_widget_types.h (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_object.c (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+24, -0) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+1, -0) (Diff)