[Bf-blender-cvs] [25c6444bad2] blender-v3.4-release: Fix T102153: crash when muting node group with active viewer

Jacques Lucke noreply at git.blender.org
Sun Nov 6 15:40:05 CET 2022


Commit: 25c6444bad25fae14d1e8dae5d312e0511fcfb3f
Author: Jacques Lucke
Date:   Sun Nov 6 15:39:57 2022 +0100
Branches: blender-v3.4-release
https://developer.blender.org/rB25c6444bad25fae14d1e8dae5d312e0511fcfb3f

Fix T102153: crash when muting node group with active viewer

===================================================================

M	source/blender/modifiers/intern/MOD_nodes.cc

===================================================================

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);



More information about the Bf-blender-cvs mailing list