diff options
author | Hans Goudey <h.goudey@me.com> | 2022-04-28 17:10:37 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-04-28 17:10:50 +0300 |
commit | b1b153b88c14b516183f7dd43b2c0111c0e7b041 (patch) | |
tree | 6c54c74326ae042c6682327a48c37eeb4179e768 /source/blender/io | |
parent | 4412cbc6d1912cb40194c81b463f52587ca5d5eb (diff) |
Cleanup: Improve const correctness of shape key functions
Diffstat (limited to 'source/blender/io')
-rw-r--r-- | source/blender/io/common/intern/abstract_hierarchy_iterator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/common/intern/abstract_hierarchy_iterator.cc b/source/blender/io/common/intern/abstract_hierarchy_iterator.cc index 78f46f4bbc7..f0501d4cf62 100644 --- a/source/blender/io/common/intern/abstract_hierarchy_iterator.cc +++ b/source/blender/io/common/intern/abstract_hierarchy_iterator.cc @@ -123,7 +123,7 @@ AbstractHierarchyWriter *EnsuredWriter::operator->() bool AbstractHierarchyWriter::check_is_animated(const HierarchyContext &context) const { - const Object *object = context.object; + Object *object = context.object; if (BKE_animdata_id_is_animated(static_cast<ID *>(object->data))) { return true; |