diff options
author | Yuri Roubinski <chaosus89@gmail.com> | 2019-08-03 18:54:04 +0300 |
---|---|---|
committer | Yuri Roubinski <chaosus89@gmail.com> | 2019-08-03 18:54:04 +0300 |
commit | 8a0767d88362ce94386f79e7ce3d6bc780f970f0 (patch) | |
tree | be9743ad715c52fe2275158f1bb8c7972493c7da /editor | |
parent | 4d08f72b767fa8ea9c3118b48a205dc87417df2e (diff) |
Return back spacer for non-expression nodes in visual shader
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugins/visual_shader_editor_plugin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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); |