1
0
Fork 0

Merge pull request #20167 from Chaosus/fix_vshader_bug

Fix display scale bug in visual shaders
This commit is contained in:
Thomas Herzog 2018-07-16 15:40:41 +02:00 committed by GitHub
commit a21aeec4b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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