2.5
authorTon Roosendaal <ton@blender.org>
Wed, 24 Dec 2008 18:06:51 +0000 (18:06 +0000)
committerTon Roosendaal <ton@blender.org>
Wed, 24 Dec 2008 18:06:51 +0000 (18:06 +0000)
commitfebb2c21e4fce4fbbbcc30bbab295b745920a062
treed97d6653a737718bebe80af64066e3bc17b5d449
parent3c612bc0e237c48bc8a3f6fdc20cec4a3b140228
2.5

Further simplifying making operators with menus;
now you can add an 'invoke' callback:

    WM_menu_invoke

which will automatically generate a menu with choices and assign
it to the property 'type'.
What also helps typing is the new RNA_enum_is_equal() function.

Here's a paste of the now committed 'clear parent'. Note the
undo push will become a flag too.

http://pasteall.org/3660

(Brecht; fixed small bug in RNA_enum_is_equal!)

To evaluate: solving dependencies for multipe scenes... probably
will make a more generic flush call.
source/blender/editors/object/object_edit.c
source/blender/editors/object/object_intern.h
source/blender/editors/object/object_ops.c
source/blender/makesrna/intern/rna_access.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_operators.c