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:
authorJeroen Bakker <jeroen@blender.org>2022-02-11 12:28:59 +0300
committerJeroen Bakker <jeroen@blender.org>2022-02-11 12:28:59 +0300
commitf19585656f62935c93c6b85a0778327d0064fa3a (patch)
treec8985b170853b7752be0fb32d1f2b313d22fdeb9 /source/blender/blenkernel/BKE_anim_data.h
parentbccdb143db1319a8c7e6df86767513f728c9c86f (diff)
Fix compile warnings.
We should change the API of ntree so we can check with a const. I added this as a todo for now and used a const cast.
Diffstat (limited to 'source/blender/blenkernel/BKE_anim_data.h')
-rw-r--r--source/blender/blenkernel/BKE_anim_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_anim_data.h b/source/blender/blenkernel/BKE_anim_data.h
index 5575f0d56c6..ef03c2a78b0 100644
--- a/source/blender/blenkernel/BKE_anim_data.h
+++ b/source/blender/blenkernel/BKE_anim_data.h
@@ -36,7 +36,7 @@ bool id_can_have_animdata(const struct ID *id);
/**
* Get #AnimData from the given ID-block.
*/
-struct AnimData *BKE_animdata_from_id(struct ID *id);
+struct AnimData *BKE_animdata_from_id(const struct ID *id);
/**
* Ensure #AnimData exists in the given ID-block (when supported).