Fix display scale bug in visual shaders

This commit is contained in:
Chaosus 2018-07-15 08:55:41 +03:00
parent f6ce73f724
commit c88da2fce5

View file

@ -157,7 +157,7 @@ void VisualShaderEditor::_update_graph() {
vsnode->connect("changed", this, "_node_changed", varray(vsnode->get_instance_id()), CONNECT_DEFERRED);
}*/
node->set_offset(position * EDSCALE);
node->set_offset(position);
node->set_title(vsnode->get_caption());
node->set_name(itos(nodes[n_i]));