diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-03 13:27:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-03 13:27:31 +0300 |
commit | ba4cf7bf0c32b713948308a80d78df6ddb07b87a (patch) | |
tree | 728e8882448b2170e77266cb5e5bb4e1f93c2d6f /source/blender | |
parent | 2745609ffd30f731d5146bd6c6940b34bae8d1ba (diff) |
fix for shape key value not updating.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/makesrna/intern/rna_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c index a8c9888e25f..53e9dae546b 100644 --- a/source/blender/makesrna/intern/rna_object.c +++ b/source/blender/makesrna/intern/rna_object.c @@ -930,7 +930,7 @@ static PointerRNA rna_Object_active_shape_key_get(PointerRNA *ptr) return PointerRNA_NULL; kb= BLI_findlink(&key->block, ob->shapenr-1); - RNA_pointer_create((ID *)ob->data, &RNA_ShapeKey, kb, &keyptr); + RNA_pointer_create((ID *)key, &RNA_ShapeKey, kb, &keyptr); return keyptr; } |