diff --git a/source/blender/blenkernel/intern/node_tree_anonymous_attributes.cc b/source/blender/blenkernel/intern/node_tree_anonymous_attributes.cc index d7a9d6660fd..a3b2465428d 100644 --- a/source/blender/blenkernel/intern/node_tree_anonymous_attributes.cc +++ b/source/blender/blenkernel/intern/node_tree_anonymous_attributes.cc @@ -24,7 +24,7 @@ static const aal::RelationsInNode &get_relations_in_node(const bNode &node, Reso if (node.is_group()) { if (const bNodeTree *group = reinterpret_cast(node.id)) { /* Undefined tree types have no relations. */ - if (!ntreeIsRegistered(const_cast(group))) { + if (!ntreeIsRegistered(group)) { return scope.construct(); }