diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c index 67243d493a2..7e1b0df9ce7 100644 --- a/source/blender/makesrna/intern/rna_object.c +++ b/source/blender/makesrna/intern/rna_object.c @@ -467,11 +467,11 @@ static EnumPropertyItem *rna_Object_parent_type_itemf(bContext *UNUSED(C), Point if (par->type == OB_LATTICE) { /* special hack: prevents this overriding others */ - RNA_enum_items_add_value(&item, &totitem, &parent_type_items[4], PARSKEL); + RNA_enum_items_add_value(&item, &totitem, &parent_type_items[2], PARSKEL); } else if (par->type == OB_ARMATURE) { /* special hack: prevents this being overrided */ - RNA_enum_items_add_value(&item, &totitem, &parent_type_items[3], PARSKEL); + RNA_enum_items_add_value(&item, &totitem, &parent_type_items[1], PARSKEL); RNA_enum_items_add_value(&item, &totitem, parent_type_items, PARBONE); }