Merge pull request #94875 from Chaosus/vs_fix_expanded_port_updating
Fix expanded output ports disconnection on updating in visual shader
This commit is contained in:
commit
4f2d818680
|
@ -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