diff --git a/source/blender/editors/object/object_group.c b/source/blender/editors/object/object_group.c index bb8c35f2dfa..48104c9274d 100644 --- a/source/blender/editors/object/object_group.c +++ b/source/blender/editors/object/object_group.c @@ -255,9 +255,8 @@ static EnumPropertyItem *group_objects_remove_itemf(bContext *C, PointerRNA *UNU /* item_tmp.icon = ICON_ARMATURE_DATA; */ item_tmp.value = i; RNA_enum_item_add(&item, &totitem, &item_tmp); + i++; } - - i++; } RNA_enum_item_end(&item, &totitem);