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:
Diffstat (limited to 'source/blender/blenkernel/intern/key.c')
-rw-r--r--source/blender/blenkernel/intern/key.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/key.c b/source/blender/blenkernel/intern/key.c
index 18302c514e1..594cffe6406 100644
--- a/source/blender/blenkernel/intern/key.c
+++ b/source/blender/blenkernel/intern/key.c
@@ -1759,7 +1759,7 @@ Key *BKE_key_from_id(ID *id)
return NULL;
}
-Key **BKE_key_from_object_p( Object *ob)
+Key **BKE_key_from_object_p(Object *ob)
{
if (ob == NULL || ob->data == NULL) {
return NULL;
@@ -1768,7 +1768,7 @@ Key **BKE_key_from_object_p( Object *ob)
return BKE_key_from_id_p(ob->data);
}
-Key *BKE_key_from_object( Object *ob)
+Key *BKE_key_from_object(Object *ob)
{
Key **key_p;
key_p = BKE_key_from_object_p(ob);
@@ -1922,7 +1922,7 @@ char *BKE_keyblock_curval_rnapath_get(const Key *key, const KeyBlock *kb)
}
/* create the RNA pointer */
- RNA_pointer_create(&key->id, &RNA_ShapeKey, kb, &ptr);
+ RNA_pointer_create((ID *)&key->id, &RNA_ShapeKey, (KeyBlock *)kb, &ptr);
/* get pointer to the property too */
prop = RNA_struct_find_property(&ptr, "value");