From 8a0767d88362ce94386f79e7ce3d6bc780f970f0 Mon Sep 17 00:00:00 2001 From: Yuri Roubinski Date: Sat, 3 Aug 2019 18:54:04 +0300 Subject: Return back spacer for non-expression nodes in visual shader --- editor/plugins/visual_shader_editor_plugin.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'editor/plugins/visual_shader_editor_plugin.cpp') diff --git a/editor/plugins/visual_shader_editor_plugin.cpp b/editor/plugins/visual_shader_editor_plugin.cpp index 4376e3e68f..4f7b9f9815 100644 --- a/editor/plugins/visual_shader_editor_plugin.cpp +++ b/editor/plugins/visual_shader_editor_plugin.cpp @@ -604,6 +604,10 @@ void VisualShaderEditor::_update_graph() { } } + if (!is_group) { + hb->add_spacer(); + } + if (valid_right) { if (is_group) { Button *remove_btn = memnew(Button); -- cgit v1.2.3