From 634673cf5b900e36925ef0c6cea9ce572b83de2e Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 23 Aug 2018 12:13:17 -0300 Subject: [PATCH] Fix properly keep scale in RemoteTransform2D, fixes #17692, closes #17690 --- scene/2d/remote_transform_2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/2d/remote_transform_2d.cpp b/scene/2d/remote_transform_2d.cpp index 63c3d78dfd5..ea59a6790d8 100644 --- a/scene/2d/remote_transform_2d.cpp +++ b/scene/2d/remote_transform_2d.cpp @@ -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());