Fix properly keep scale in RemoteTransform2D, fixes #17692, closes #17690

This commit is contained in:
Juan Linietsky 2018-08-23 12:13:17 -03:00
parent d61fc6a97b
commit 634673cf5b
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ void RemoteTransform2D::_update_remote() {
} else {
Transform2D n_trans = n->get_global_transform();
Transform2D our_trans = get_global_transform();
Vector2 n_scale = n->get_global_scale();
Vector2 n_scale = n->get_scale();
if (!update_remote_position)
our_trans.set_origin(n_trans.get_origin());