Fix #30073: metaball + edit mode + proportinal edit hotkey
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 5 Feb 2012 11:42:20 +0000 (11:42 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 5 Feb 2012 11:42:20 +0000 (11:42 +0000)
Was missed registration of PET toggling operators.

source/blender/editors/metaball/mball_ops.c

index c7635bc..f689fb0 100644 (file)
@@ -36,6 +36,7 @@
 
 #include "ED_mball.h"
 #include "ED_screen.h"
+#include "ED_object.h"
 
 #include "BLI_utildefines.h"
 
@@ -77,5 +78,7 @@ void ED_keymap_metaball(wmKeyConfig *keyconf)
                RNA_enum_set(kmi->ptr, "action", SEL_TOGGLE);
        kmi = WM_keymap_add_item(keymap, "MBALL_OT_select_all", IKEY, KM_PRESS, KM_CTRL, 0);
                RNA_enum_set(kmi->ptr, "action", SEL_INVERT);
+
+       ED_object_generic_keymap(keyconf, keymap, 3);
 }