mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
fix node duplication in update after external changes.
This commit is contained in:
parent
7d151c8381
commit
ae472865d0
7 changed files with 95 additions and 45 deletions
|
|
@ -310,6 +310,11 @@ private:
|
|||
Variant _call_thread_safe_bind(const Variant **p_args, int p_argcount, Callable::CallError &r_error);
|
||||
|
||||
protected:
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
void _replace_by_bind_compat_89992(Node *p_node, bool p_keep_data = false);
|
||||
static void _bind_compatibility_methods();
|
||||
#endif // DISABLE_DEPRECATED
|
||||
|
||||
void _block() { data.blocked++; }
|
||||
void _unblock() { data.blocked--; }
|
||||
|
||||
|
|
@ -629,7 +634,7 @@ public:
|
|||
return binds;
|
||||
}
|
||||
|
||||
void replace_by(Node *p_node, bool p_keep_data = false);
|
||||
void replace_by(Node *p_node, bool p_keep_groups = false, bool p_keep_children = true);
|
||||
|
||||
void set_process_mode(ProcessMode p_mode);
|
||||
ProcessMode get_process_mode() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue