summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2021-08-30 19:38:51 -0300
committerGitHub <noreply@github.com>2021-08-30 19:38:51 -0300
commitd085b2d04d6a6f972cc252532dbbf07f0d54fc3c (patch)
tree4584a1480c6fc63d1830832f4b18030c76df6ad3 /editor
parentefc87481e45c66b3a18dfe1db82c3289fe2a370d (diff)
parenteeedef82952407fdf1f3c1219cab0e2a34f0e52d (diff)
Merge pull request #43838 from lupoDharkael/cancel-member
Clear connection data from/to empty after used
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/visual_shader_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/visual_shader_editor_plugin.cpp b/editor/plugins/visual_shader_editor_plugin.cpp
index 5b1da11f12..50808a25af 100644
--- a/editor/plugins/visual_shader_editor_plugin.cpp
+++ b/editor/plugins/visual_shader_editor_plugin.cpp
@@ -2547,6 +2547,7 @@ void VisualShaderEditor::_add_node(int p_idx, int p_op_idx, String p_resource_pa
}
}
}
+ _member_cancel();
VisualShaderNodeUniform *uniform = Object::cast_to<VisualShaderNodeUniform>(vsnode.ptr());
if (uniform) {