From c88da2fce53365e9f8446ef473446ed09e4dd012 Mon Sep 17 00:00:00 2001 From: Chaosus Date: Sun, 15 Jul 2018 08:55:41 +0300 Subject: [PATCH] Fix display scale bug in visual shaders --- editor/plugins/visual_shader_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/visual_shader_editor_plugin.cpp b/editor/plugins/visual_shader_editor_plugin.cpp index 1302a89e3f7..8d232a0586a 100644 --- a/editor/plugins/visual_shader_editor_plugin.cpp +++ b/editor/plugins/visual_shader_editor_plugin.cpp @@ -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]));