main sync #3

Merged
Patrick Busch merged 318 commits from blender/blender:main into main 2023-03-17 15:52:21 +01:00
Showing only changes of commit 1b398dbad0 - Show all commits

View File

@ -24,7 +24,7 @@ static const aal::RelationsInNode &get_relations_in_node(const bNode &node, Reso
if (node.is_group()) { if (node.is_group()) {
if (const bNodeTree *group = reinterpret_cast<const bNodeTree *>(node.id)) { if (const bNodeTree *group = reinterpret_cast<const bNodeTree *>(node.id)) {
/* Undefined tree types have no relations. */ /* Undefined tree types have no relations. */
if (!ntreeIsRegistered(group)) { if (!ntreeIsRegistered(const_cast<bNodeTree *>(group))) {
return scope.construct<aal::RelationsInNode>(); return scope.construct<aal::RelationsInNode>();
} }