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:
authorCampbell Barton <ideasman42@gmail.com>2009-11-05 20:43:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-11-05 20:43:23 +0300
commitbdfa652605b0932755a35fa8af02ccd049596847 (patch)
tree9630f03dc4d16752bc9452e810ad0c5db809810d /source/blender/editors
parent8109b13e8369418f81ffa4f362f40d4d2f783851 (diff)
adding group instances didnt do an undo push
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/object/object_add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c
index 016bc172410..5378ee47f89 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -715,7 +715,7 @@ void OBJECT_OT_group_instance_add(wmOperatorType *ot)
ot->poll= ED_operator_scene_editable;
/* flags */
- ot->flag= 0;
+ ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO;
/* properties */
prop= RNA_def_enum(ot->srna, "type", DummyRNA_NULL_items, 0, "Type", "");