Commit: d47d030275f14b1c1b7a35452f9b3c841ebeb178
Author: Dalai Felinto
Date:   Mon Feb 24 22:48:46 2014 -0300
https://developer.blender.org/rBd47d030275f14b1c1b7a35452f9b3c841ebeb178

Fix T38819: Mark Seam misbehaves when accessed through spacebar search

===================================================================

M       source/blender/editors/mesh/editmesh_tools.c

===================================================================

diff --git a/source/blender/editors/mesh/editmesh_tools.c 
b/source/blender/editors/mesh/editmesh_tools.c
index f8b50d4..fd927d8 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -796,6 +796,8 @@ static int edbm_mark_seam_exec(bContext *C, wmOperator *op)
 
 void MESH_OT_mark_seam(wmOperatorType *ot)
 {
+       PropertyRNA *prop;
+
        /* identifiers */
        ot->name = "Mark Seam";
        ot->idname = "MESH_OT_mark_seam";
@@ -808,7 +810,8 @@ void MESH_OT_mark_seam(wmOperatorType *ot)
        /* flags */
        ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
        
-       RNA_def_boolean(ot->srna, "clear", 0, "Clear", "");
+       prop = RNA_def_boolean(ot->srna, "clear", 0, "Clear", "");
+       RNA_def_property_flag(prop, PROP_SKIP_SAVE);
 }
 
 static int edbm_mark_sharp_exec(bContext *C, wmOperator *op)

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to