Fix T99932: video in node group does not play

This commit is contained in:
Jacques Lucke 2022-08-23 11:54:14 +02:00
parent d269ad3535
commit 95464a842c
Notes: blender-bot 2023-02-14 01:21:16 +01:00
Referenced by issue #99932, Regression: Video in node group doesn't play
1 changed files with 1 additions and 1 deletions

View File

@ -1267,7 +1267,7 @@ class NodeTreeMainUpdater {
}
/* Check if a used node group has an animated image. */
for (const NodeRef *group_node : tree_ref.nodes_by_type("NodeGroup")) {
for (const NodeRef *group_node : tree_ref.nodes_by_type("ShaderNodeGroup")) {
const bNodeTree *group = reinterpret_cast<bNodeTree *>(group_node->bnode()->id);
if (group != nullptr) {
ntree.runtime->runtime_flag |= group->runtime->runtime_flag;