Fix T70609 EEVEE: Shader using lots of nodegroups are slow to update
This commit is contained in:
parent
9bd62379d6
commit
8163fda9fb
Notes:
blender-bot
2023-02-14 06:54:28 +01:00
Referenced by issue #70609, Complex node setup: Longer render times in experimental build vs. stable release
|
@ -412,7 +412,8 @@ static void flatten_group_do(bNodeTree *ntree, bNode *gnode)
|
|||
BLI_remlink(&ngroup->nodes, node);
|
||||
BLI_addtail(&ntree->nodes, node);
|
||||
/* ensure unique node name in the node tree */
|
||||
nodeUniqueName(ntree, node);
|
||||
/* This is very slow and it has no use for GPU nodetree. (see T70609) */
|
||||
// nodeUniqueName(ntree, node);
|
||||
}
|
||||
|
||||
/* Save first and last link to iterate over flattened group links. */
|
||||
|
|
Loading…
Reference in New Issue