diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-19 14:12:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-19 14:12:07 +0400 |
commit | 0d5d2146ebc026c254fc68e4970a1dfb3a9b5b31 (patch) | |
tree | 1182edf4d10ae0dd65fde371d46be6baf9435b25 /source/blender/makesrna/intern/rna_key.c | |
parent | f5d3e361cec686fe90faba9c8bc1681b595243b3 (diff) |
code cleanup: make shape key api names consistent with our new convention.
Diffstat (limited to 'source/blender/makesrna/intern/rna_key.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_key.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_key.c b/source/blender/makesrna/intern/rna_key.c index 5334c10c4c6..0d6594d7fcb 100644 --- a/source/blender/makesrna/intern/rna_key.c +++ b/source/blender/makesrna/intern/rna_key.c @@ -61,7 +61,7 @@ static Key *rna_ShapeKey_find_key(ID *id) case ID_KE: return (Key *)id; case ID_LT: return ((Lattice *)id)->key; case ID_ME: return ((Mesh *)id)->key; - case ID_OB: return ob_get_key((Object *)id); + case ID_OB: return BKE_key_from_object((Object *)id); default: return NULL; } } @@ -360,7 +360,7 @@ static void rna_Key_update_data(Main *bmain, Scene *UNUSED(scene), PointerRNA *p Object *ob; for (ob = bmain->object.first; ob; ob = ob->id.next) { - if (ob_get_key(ob) == key) { + if (BKE_key_from_object(ob) == key) { DAG_id_tag_update(&ob->id, OB_RECALC_DATA); WM_main_add_notifier(NC_OBJECT | ND_MODIFIER, ob); } |