summaryrefslogtreecommitdiff
path: root/scene/3d/remote_transform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/remote_transform.cpp')
-rw-r--r--scene/3d/remote_transform.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/3d/remote_transform.cpp b/scene/3d/remote_transform.cpp
index 2156e24cd0..c12e49fb47 100644
--- a/scene/3d/remote_transform.cpp
+++ b/scene/3d/remote_transform.cpp
@@ -124,8 +124,10 @@ void RemoteTransform::_notification(int p_what) {
void RemoteTransform::set_remote_node(const NodePath &p_remote_node) {
remote_node = p_remote_node;
- if (is_inside_tree())
+ if (is_inside_tree()) {
_update_cache();
+ _update_remote();
+ }
update_configuration_warning();
}