summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-08-23 12:13:17 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-08-23 12:14:04 -0300
commit634673cf5b900e36925ef0c6cea9ce572b83de2e (patch)
tree482685025dab264ce7e61b61a4ef72164cec3864 /scene/2d
parentd61fc6a97b45d2147d0ba43c0ec572d566aad6e6 (diff)
Fix properly keep scale in RemoteTransform2D, fixes #17692, closes #17690
Diffstat (limited to 'scene/2d')
-rw-r--r--scene/2d/remote_transform_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/remote_transform_2d.cpp b/scene/2d/remote_transform_2d.cpp
index 63c3d78dfd..ea59a6790d 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());