mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Switched AnimatedTexture to a readers-writers lock, solves a race condition and fixes #20221
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user