alternative to joe's commit r36451.
[blender-staging.git] / source / blender / editors / mesh / mesh_ops.c
index 6d8dd4e9a2ee45b9116e396fd78d8997d1f6e1ba..282eeef906fa33fe9e88d6b45e478e1f80b7bedf 100644 (file)
@@ -176,9 +176,8 @@ void ED_operatormacros_mesh(void)
        ot->description = "Cut mesh loop and slide it";
        WM_operatortype_macro_define(ot, "MESH_OT_loopcut");
        otmacro= WM_operatortype_macro_define(ot, "TRANSFORM_OT_edge_slide");
-       RNA_boolean_set(otmacro->ptr, "release_confirm", 1);
-       RNA_int_set(otmacro->ptr, "launch_event", LEFTMOUSE);
-       
+       RNA_struct_idprops_unset(otmacro->ptr, "release_confirm");
+
        ot= WM_operatortype_append_macro("MESH_OT_duplicate_move", "Add Duplicate", OPTYPE_UNDO|OPTYPE_REGISTER);
        ot->description = "Duplicate mesh and move";
        WM_operatortype_macro_define(ot, "MESH_OT_duplicate");