fix for regression for shape key UI, values are now editable again in the list, double checked this works for mesh/curve and lattice types.

This commit is contained in:
Campbell Barton 2011-08-10 20:12:27 +00:00
parent 11aa9ff223
commit 50277c48ba

@ -2110,7 +2110,7 @@ static void list_item_row(bContext *C, uiLayout *layout, PointerRNA *ptr, Pointe
}
else if(itemptr->type == &RNA_ShapeKey) {
Object *ob= (Object*)activeptr->data;
Key *key= (Key*)itemptr->data;
Key *key= (Key*)itemptr->id.data;
split= uiLayoutSplit(sub, 0.75f, 0);