Fix T101613: Muted Mix node wrongly connects to Factor socket
T101613: Muting/ctrl+x deleting the new mix node in Float mode passes through the wrong input. Fix by setting no_muted_links() on Factor sockets.
This commit is contained in:
parent
634e4a49d6
commit
31a4fb42d4
Notes:
blender-bot
2023-02-14 00:37:17 +01:00
Referenced by issue #101613, Nodes: Muting/ctrl+x deleting the new mix node in Float mode passes through the wrong input
|
@ -23,11 +23,13 @@ static void sh_node_mix_declare(NodeDeclarationBuilder &b)
|
|||
{
|
||||
b.is_function_node();
|
||||
b.add_input<decl::Float>(N_("Factor"), "Factor_Float")
|
||||
.no_muted_links()
|
||||
.default_value(0.5f)
|
||||
.min(0.0f)
|
||||
.max(1.0f)
|
||||
.subtype(PROP_FACTOR);
|
||||
b.add_input<decl::Vector>(N_("Factor"), "Factor_Vector")
|
||||
.no_muted_links()
|
||||
.default_value(float3(0.5f))
|
||||
.subtype(PROP_FACTOR);
|
||||
|
||||
|
|
Loading…
Reference in New Issue