Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-08-11 00:12:27 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-08-11 00:12:27 +0400
commit50277c48ba5bf9eae418453159e421489895dafd (patch)
treedf0bbdef24ec8d14d4f63da28cbf6c1162a5023c
parent11aa9ff2238f28af98c2bbc3ab5e731a3b9a608b (diff)
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.
-rw-r--r--source/blender/editors/interface/interface_templates.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c
index 305a4a8b3d6..6384d91955f 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -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);