diff options
author | Erik <ecke101@gmail.com> | 2021-11-25 17:01:25 +0300 |
---|---|---|
committer | Erik <ecke101@gmail.com> | 2021-11-25 17:01:38 +0300 |
commit | 9812a08848b8a5264948ae1e2a4b0343d2e7f9e2 (patch) | |
tree | 476cc725f3a63e0c4d635f9c33d9dd1be3f5d505 /source/blender/nodes/intern/node_common.cc | |
parent | e216660382e46935e8241e9c877c0b2914481da9 (diff) |
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
Diffstat (limited to 'source/blender/nodes/intern/node_common.cc')
-rw-r--r-- | source/blender/nodes/intern/node_common.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |