Skip to content

Commit 4f2d818

Browse files
committed
Merge pull request #94875 from Chaosus/vs_fix_expanded_port_updating
Fix expanded output ports disconnection on updating in visual shader
2 parents 46aff5c + 5893b38 commit 4f2d818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/plugins/visual_shader_editor_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7347,7 +7347,7 @@ class VisualShaderNodePluginDefaultEditor : public VBoxContainer {
73477347
Ref<VisualShaderNode> vsnode_new = vsnode->duplicate();
73487348
vsnode_new->set(p_property, p_value);
73497349
const int input_port_count = vsnode_new->get_input_port_count();
7350-
const int output_port_count = vsnode_new->get_output_port_count();
7350+
const int output_port_count = vsnode_new->get_expanded_output_port_count();
73517351

73527352
List<VisualShader::Connection> conns;
73537353
editor->get_visual_shader()->get_node_connections(shader_type, &conns);

0 commit comments

Comments
 (0)