diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2019-02-27 00:14:09 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2019-03-01 17:44:19 +0300 |
commit | dbab52e4c0d8e96db562afbab99b9fb6b46364e7 (patch) | |
tree | 708829eabf636e4bf46e12f73ebfec1ee41af2c1 /source/blender/blenkernel/BKE_key.h | |
parent | 3e07eac87b2be2f2b2c3099d76ea41cb476b6613 (diff) |
Cleanup: Set BKE_key_from_object/_p to take const Object *
Diffstat (limited to 'source/blender/blenkernel/BKE_key.h')
-rw-r--r-- | source/blender/blenkernel/BKE_key.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_key.h b/source/blender/blenkernel/BKE_key.h index 9f2ed073fa1..d0d558cb829 100644 --- a/source/blender/blenkernel/BKE_key.h +++ b/source/blender/blenkernel/BKE_key.h @@ -60,8 +60,8 @@ bool BKE_key_idtype_support(const short id_type); struct Key **BKE_key_from_id_p(struct ID *id); struct Key *BKE_key_from_id(struct ID *id); -struct Key **BKE_key_from_object_p(struct Object *ob); -struct Key *BKE_key_from_object(struct Object *ob); +struct Key **BKE_key_from_object_p(const struct Object *ob); +struct Key *BKE_key_from_object(const struct Object *ob); struct KeyBlock *BKE_keyblock_from_object(struct Object *ob); struct KeyBlock *BKE_keyblock_from_object_reference(struct Object *ob); |