Fix expanded output ports disconnection on updating in visual shader
This commit is contained in:
parent
607b230ffe
commit
5893b38ddd
|
@ -7347,7 +7347,7 @@ public:
|
|||
Ref<VisualShaderNode> vsnode_new = vsnode->duplicate();
|
||||
vsnode_new->set(p_property, p_value);
|
||||
const int input_port_count = vsnode_new->get_input_port_count();
|
||||
const int output_port_count = vsnode_new->get_output_port_count();
|
||||
const int output_port_count = vsnode_new->get_expanded_output_port_count();
|
||||
|
||||
List<VisualShader::Connection> conns;
|
||||
editor->get_visual_shader()->get_node_connections(shader_type, &conns);
|
||||
|
|
Loading…
Reference in New Issue