Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2014-02-25 05:48:46 +0400
committerDalai Felinto <dfelinto@gmail.com>2014-02-25 05:48:46 +0400
commitd47d030275f14b1c1b7a35452f9b3c841ebeb178 (patch)
tree5218240b97ac69243fb0c2c9db7e9007f07ab175 /source/blender/editors
parentb6c439d0c425f918d49ebef4fe3922f8543553cf (diff)
Fix T38819: Mark Seam misbehaves when accessed through spacebar search
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/mesh/editmesh_tools.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index f8b50d4e5c7..fd927d8cfa0 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)