fix [#34050] Regression from 2.49, "Release confirms" interferes with loop cutting
authorCampbell Barton <ideasman42@gmail.com>
Thu, 31 Jan 2013 06:38:35 +0000 (06:38 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 31 Jan 2013 06:38:35 +0000 (06:38 +0000)
source/blender/editors/mesh/mesh_ops.c

index 4fdbb9310b096dbc33897cc10f28b054272b9708..884c4a3bee1011c0abb8b6db31244257d789fb66 100644 (file)
@@ -197,7 +197,7 @@ void ED_operatormacros_mesh(void)
                                          OPTYPE_UNDO | OPTYPE_REGISTER);
        WM_operatortype_macro_define(ot, "MESH_OT_loopcut");
        otmacro = WM_operatortype_macro_define(ot, "TRANSFORM_OT_edge_slide");
-       RNA_struct_idprops_unset(otmacro->ptr, "release_confirm");
+       RNA_boolean_set(otmacro->ptr, "release_confirm", false);
 
        ot = WM_operatortype_append_macro("MESH_OT_duplicate_move", "Add Duplicate", "Duplicate mesh and move",
                                          OPTYPE_UNDO | OPTYPE_REGISTER);