Fix #106467: Crash when loading files with custom node groups #106559

Merged
Jacques Lucke merged 3 commits from Bobbe/blender:main into main 2023-04-05 15:36:35 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -925,7 +925,7 @@ void ntreeBlendReadLib(BlendLibReader *reader, bNodeTree *ntree)
LISTBASE_FOREACH (bNode *, node, &ntree->nodes) {
/* Don't update node groups here because they may depend on other node groups which are not
* fully versioned yet and don't have `typeinfo` pointers set. */
if (node->type != NODE_GROUP) {
if (!node->is_group()) {
Bobbe marked this conversation as resolved Outdated

Maybe better node->is_group() ?

Maybe better `node->is_group()` ?
node_verify_sockets(ntree, node, false);
}
}