mask editing
[blender.git] / source / blender / editors / mask / mask_edit.c
index 9a32cff04c302b42af8ede92d33edb440f73bdbc..34d297155f981123ff7910f6c1597d1ca106263f 100644 (file)
@@ -212,6 +212,9 @@ void ED_operatortypes_mask(void)
        WM_operatortype_append(MASK_OT_hide_view_clear);
        WM_operatortype_append(MASK_OT_hide_view_set);
 
+       /* feather */
+       WM_operatortype_append(MASK_OT_feather_weight_clear);
+
        /* shape */
        WM_operatortype_append(MASK_OT_slide_point);
        WM_operatortype_append(MASK_OT_cyclic_toggle);
@@ -293,6 +296,7 @@ void ED_keymap_mask(wmKeyConfig *keyconf)
        WM_keymap_add_item(keymap, "MASK_OT_cyclic_toggle", CKEY, KM_PRESS, KM_ALT, 0);
        WM_keymap_add_item(keymap, "MASK_OT_slide_point", LEFTMOUSE, KM_PRESS, 0, 0);
        WM_keymap_add_item(keymap, "MASK_OT_handle_type_set", VKEY, KM_PRESS, 0, 0);
+       WM_keymap_add_item(keymap, "MASK_OT_feather_weight_clear", SKEY, KM_PRESS, KM_ALT, 0);
 
        /* relationships */
        WM_keymap_add_item(keymap, "MASK_OT_parent_set", PKEY, KM_PRESS, KM_CTRL, 0);