소스 검색

Fix display scale bug in visual shaders

Chaosus 7 년 전
부모
커밋
c88da2fce5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      editor/plugins/visual_shader_editor_plugin.cpp

+ 1 - 1
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]));