adding group instances didnt do an undo push

This commit is contained in:
Campbell Barton
2009-11-05 17:43:23 +00:00
parent 8109b13e83
commit bdfa652605

View File

@@ -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", "");