1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Fix change of precedence in fixup

This commit is contained in:
Pedro J. Estébanez
2023-06-26 19:20:34 +02:00
parent 2930fbeecd
commit fc0e37bbe0

View File

@@ -1052,13 +1052,13 @@ void SceneTree::_process(bool p_physics) {
if (p_physics) { if (p_physics) {
if (!pg->physics_nodes.is_empty()) { if (!pg->physics_nodes.is_empty()) {
process_valid = true; process_valid = true;
} else if (pg == &default_process_group || ((pg->owner != nullptr && pg->owner->data.process_thread_messages.has_flag(Node::FLAG_PROCESS_THREAD_MESSAGES_PHYSICS)) && pg->call_queue.has_messages())) { } else if ((pg == &default_process_group || (pg->owner != nullptr && pg->owner->data.process_thread_messages.has_flag(Node::FLAG_PROCESS_THREAD_MESSAGES_PHYSICS))) && pg->call_queue.has_messages()) {
process_valid = true; process_valid = true;
} }
} else { } else {
if (!pg->nodes.is_empty()) { if (!pg->nodes.is_empty()) {
process_valid = true; process_valid = true;
} else if (pg == &default_process_group || ((pg->owner != nullptr && pg->owner->data.process_thread_messages.has_flag(Node::FLAG_PROCESS_THREAD_MESSAGES)) && pg->call_queue.has_messages())) { } else if ((pg == &default_process_group || (pg->owner != nullptr && pg->owner->data.process_thread_messages.has_flag(Node::FLAG_PROCESS_THREAD_MESSAGES))) && pg->call_queue.has_messages()) {
process_valid = true; process_valid = true;
} }
} }