forked from blender/blender
main sync #3
@ -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<const bNodeTree *>(node.id)) {
|
||||
/* Undefined tree types have no relations. */
|
||||
if (!ntreeIsRegistered(const_cast<bNodeTree *>(group))) {
|
||||
if (!ntreeIsRegistered(group)) {
|
||||
return scope.construct<aal::RelationsInNode>();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user