Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2022-11-06 17:39:57 +0300
committerJacques Lucke <jacques@blender.org>2022-11-06 17:39:57 +0300
commit25c6444bad25fae14d1e8dae5d312e0511fcfb3f (patch)
tree0f533a9ebaf2ef107fd067e47cabff83d80fe628
parent0697631929d9ec4be92feae9b8347dd1e32c6ddd (diff)
Fix T102153: crash when muting node group with active viewer
-rw-r--r--source/blender/modifiers/intern/MOD_nodes.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_nodes.cc b/source/blender/modifiers/intern/MOD_nodes.cc
index b66312d6706..c032ee35639 100644
--- a/source/blender/modifiers/intern/MOD_nodes.cc
+++ b/source/blender/modifiers/intern/MOD_nodes.cc
@@ -876,6 +876,9 @@ static void find_side_effect_nodes_for_viewer_path(
if (found_node->id == nullptr) {
return;
}
+ if (found_node->is_muted()) {
+ return;
+ }
group_node_stack.push(found_node);
group = reinterpret_cast<bNodeTree *>(found_node->id);
compute_context_builder.push<blender::bke::NodeGroupComputeContext>(group_node_name);