Merge pull request #116326 from KoBeWi/noden't

Remove some unused Node methods
This commit is contained in:
Thaddeus Crews committed 2026-02-16 15:02:41 -06:00
commit 4e84cd8a6b
2 files changed
-33

No files matched your search

-31
View File
@@ -2562,37 +2562,6 @@ String Node::get_tree_string() {
return _get_tree_string(this);
}
void Node::_propagate_reverse_notification(int p_notification) {
data.blocked++;
for (HashMap<StringName, Node *>::Iterator I = data.children.last(); I; --I) {
I->value->_propagate_reverse_notification(p_notification);
}
notification(p_notification, true);
data.blocked--;
}
void Node::_propagate_deferred_notification(int p_notification, bool p_reverse) {
ERR_FAIL_COND(!is_inside_tree());
data.blocked++;
if (!p_reverse) {
MessageQueue::get_singleton()->push_notification(this, p_notification);
}
for (KeyValue<StringName, Node *> &K : data.children) {
K.value->_propagate_deferred_notification(p_notification, p_reverse);
}
if (p_reverse) {
MessageQueue::get_singleton()->push_notification(this, p_notification);
}
data.blocked--;
}
void Node::propagate_notification(int p_notification) {
ERR_THREAD_GUARD
data.blocked++;