[Bf-blender-cvs] [d47d030] master: Fix T38819: Mark Seam misbehaves when accessed through spacebar search
Dalai Felinto
noreply at git.blender.org
Tue Feb 25 02:50:17 CET 2014
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)
More information about the Bf-blender-cvs
mailing list