[Bf-blender-cvs] [9812a08848b] master: Fix: Crash when muting the Group Output node
Erik
noreply at git.blender.org
Thu Nov 25 15:02:12 CET 2021
Commit: 9812a08848b8a5264948ae1e2a4b0343d2e7f9e2
Author: Erik
Date: Thu Nov 25 15:01:25 2021 +0100
Branches: master
https://developer.blender.org/rB9812a08848b8a5264948ae1e2a4b0343d2e7f9e2
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
===================================================================
M source/blender/nodes/intern/node_common.cc
===================================================================
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);
}
More information about the Bf-blender-cvs
mailing list