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
This commit is contained in:
Erik Abrahamsson 2021-11-25 15:01:25 +01:00
parent e216660382
commit 9812a08848
1 changed files with 2 additions and 0 deletions

View File

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