proportional editing keys now work when editing masks.
[blender.git] / source / blender / editors / mask / mask_editor.c
index aa8a9cbddcc1f82b5c8e50d821331e4d72341a6d..a0b47be8ea3a025ec86b17117f3d14b4b8ffa4e8 100644 (file)
@@ -42,6 +42,7 @@
 
 #include "ED_screen.h"
 #include "ED_mask.h"
+#include "ED_object.h" /* ED_keymap_proportional_maskmode only */
 #include "ED_clip.h"
 #include "ED_transform.h"
 
@@ -232,6 +233,10 @@ void ED_keymap_mask(wmKeyConfig *keyconf)
 
        WM_keymap_add_item(keymap, "MASK_OT_new", NKEY, KM_PRESS, KM_ALT, 0);
 
+       /* mask mode supports PET now */
+       ED_keymap_proportional_cycle(keyconf, keymap);
+       ED_keymap_proportional_maskmode(keyconf, keymap);
+
        /* geometry */
        WM_keymap_add_item(keymap, "MASK_OT_add_vertex_slide", LEFTMOUSE, KM_PRESS, KM_CTRL, 0);
        WM_keymap_add_item(keymap, "MASK_OT_add_feather_vertex_slide", LEFTMOUSE, KM_PRESS, KM_SHIFT, 0);