diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2014-02-25 05:48:46 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2014-02-25 05:48:46 +0400 |
commit | d47d030275f14b1c1b7a35452f9b3c841ebeb178 (patch) | |
tree | 5218240b97ac69243fb0c2c9db7e9007f07ab175 /source | |
parent | b6c439d0c425f918d49ebef4fe3922f8543553cf (diff) |
Fix T38819: Mark Seam misbehaves when accessed through spacebar search
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 5 |
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) |