Implement asymmetric and free handles type for masks
[blender.git] / source / blender / editors / mask / mask_edit.c
index ad287a3af9ffbb13a18c6601f2bcf08cd494a684..af4645e31ece36032850cd4725c00ea8c87fc71b 100644 (file)
@@ -570,8 +570,8 @@ void ED_operatormacros_mask(void)
                                          "Add new vertex and slide it", OPTYPE_UNDO | OPTYPE_REGISTER);
        ot->description = "Add new vertex and slide it";
        WM_operatortype_macro_define(ot, "MASK_OT_add_vertex");
-       otmacro = WM_operatortype_macro_define(ot, "TRANSFORM_OT_translate");
-       RNA_boolean_set(otmacro->ptr, "release_confirm", TRUE);
+       otmacro = WM_operatortype_macro_define(ot, "MASK_OT_slide_point");
+       RNA_boolean_set(otmacro->ptr, "is_new_point", TRUE);
 
        ot = WM_operatortype_append_macro("MASK_OT_add_feather_vertex_slide", "Add Feather Vertex and Slide",
                                          "Add new vertex to feather and slide it", OPTYPE_UNDO | OPTYPE_REGISTER);