Return back spacer for non-expression nodes in visual shader

This commit is contained in:
Yuri Roubinski 2019-08-03 18:54:04 +03:00
parent 4d08f72b76
commit 8a0767d883
1 changed files with 4 additions and 0 deletions

View File

@ -604,6 +604,10 @@ void VisualShaderEditor::_update_graph() {
} }
} }
if (!is_group) {
hb->add_spacer();
}
if (valid_right) { if (valid_right) {
if (is_group) { if (is_group) {
Button *remove_btn = memnew(Button); Button *remove_btn = memnew(Button);