From 9812a08848b8a5264948ae1e2a4b0343d2e7f9e2 Mon Sep 17 00:00:00 2001 From: Erik Date: Thu, 25 Nov 2021 15:01:25 +0100 Subject: Fix: Crash when muting the Group Output node This fixes a crash when muting the "Group Output" node. It should not be possible to mute it so this patch sets the `no_muting`-variable on it. Differential Revision: https://developer.blender.org/D13364 --- source/blender/nodes/intern/node_common.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/nodes/intern') diff --git a/source/blender/nodes/intern/node_common.cc b/source/blender/nodes/intern/node_common.cc index b80cedc9352..a2ec313e151 100644 --- a/source/blender/nodes/intern/node_common.cc +++ b/source/blender/nodes/intern/node_common.cc @@ -613,6 +613,8 @@ void register_node_type_group_output(void) node_type_init(ntype, node_group_output_init); node_type_update(ntype, node_group_output_update); + ntype->no_muting = true; + nodeRegisterType(ntype); } -- cgit v1.2.3