Blender Git Commit Log

Git Commits -> Revision 6a22944

July 22, 2013, 09:32 (GMT)
Quick test to see how to implement default operator properties in a button's right click popup menu.

Some not so nice, rough corners:
* default properties are stored in a wmOperator in wmOperatorType and duplicated in default_properties.
* wmOperators in wmOperatorType aren't cleaned on exit yet.
* the widgets in the popup are not properly aligned.
* lots of properties are ignored upon executing an operator.

Commit Details:

Full Hash: 6a2294431161dde3e753bf3579166664f0d541b0
SVN Revision: 58497
Parent Commit: 88728a4
Lines Changed: +178, -40

7 Modified Paths:

/source/blender/editors/include/UI_interface.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+35, -0) (Diff)
/source/blender/editors/interface/interface_layout.c (+63, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+63, -39) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+8, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+4, -1) (Diff)
/source/blender/windowmanager/WM_types.h (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021