Cleanup: Improve const correctness of shape key functions
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user