summaryrefslogtreecommitdiffstats
path: root/scene/main/scene_tree.cpp
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2023-06-26 19:20:34 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2023-06-26 19:20:34 +0200
commitfc0e37bbe0f5b1fed6cdcb8cb5d607d36b634d2c (patch)
tree9c431d9af64dac195fa2c1a439b79e1b5bb63a75 /scene/main/scene_tree.cpp
parent2930fbeecd7eab4ccffd4aea82964f2b8fd25e84 (diff)
downloadredot-engine-fc0e37bbe0f5b1fed6cdcb8cb5d607d36b634d2c.tar.gz
Fix change of precedence in fixup
Diffstat (limited to 'scene/main/scene_tree.cpp')
-rw-r--r--scene/main/scene_tree.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp
index 77f3027143..481ed14707 100644
--- a/scene/main/scene_tree.cpp
+++ b/scene/main/scene_tree.cpp
@@ -1052,13 +1052,13 @@ void SceneTree::_process(bool p_physics) {
if (p_physics) {
if (!pg->physics_nodes.is_empty()) {
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;
}
} else {
if (!pg->nodes.is_empty()) {
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;
}
}