Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2008-12-24 21:06:51 +0300
committerTon Roosendaal <ton@blender.org>2008-12-24 21:06:51 +0300
commitfebb2c21e4fce4fbbbcc30bbab295b745920a062 (patch)
treed97d6653a737718bebe80af64066e3bc17b5d449 /source/blender/editors/object/object_intern.h
parent3c612bc0e237c48bc8a3f6fdc20cec4a3b140228 (diff)
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.
Diffstat (limited to 'source/blender/editors/object/object_intern.h')
-rw-r--r--source/blender/editors/object/object_intern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_intern.h b/source/blender/editors/object/object_intern.h
index 0ae30c8366b..5bd5c26c0f9 100644
--- a/source/blender/editors/object/object_intern.h
+++ b/source/blender/editors/object/object_intern.h
@@ -33,7 +33,7 @@
/* object_edit.c */
void ED_VIEW3D_OT_make_parent(wmOperatorType *ot);
-
+void ED_VIEW3D_OT_clear_parent(wmOperatorType *ot);
#endif /* ED_OBJECT_INTERN_H */