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:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-12-06 18:34:56 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-12-06 18:34:56 +0400
commitb264fea601ecffaa3fc8b55162186e0c1789a8e7 (patch)
treedec97ef69a23d17113faff0cb6da89dbe0f01016 /source/blender/editors/mesh
parentcd1e78f1b705c4fff3152d349534d25617877b9f (diff)
Fix #29511: Separate tool duplicates objects
Do not register separate mesh operator so it can't be redone from operator redo panel.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh.c b/source/blender/editors/mesh/editmesh.c
index 159ef3a46c7..1477469ca85 100644
--- a/source/blender/editors/mesh/editmesh.c
+++ b/source/blender/editors/mesh/editmesh.c
@@ -1575,7 +1575,7 @@ void MESH_OT_separate(wmOperatorType *ot)
ot->poll= ED_operator_editmesh;
/* flags */
- ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
+ ot->flag= OPTYPE_UNDO;
ot->prop= RNA_def_enum(ot->srna, "type", prop_separate_types, 0, "Type", "");
}