From 091c71619898c939c74f4d40e5116da4c4ee1085 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 20 Jun 2012 22:57:05 +0000 Subject: [PATCH] correction to own commit - thanks Anthony Edlin for pointing out the error. --- source/blender/editors/object/object_group.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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);