You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-21 14:57:09 +00:00
Fix Object::notification order
Previously the `p_reversed` parameter didn't influence the order in a correct way. Also script overridden _notification functions were not called in the correct order. To fix this some `notification` functions had to add a `p_reversed` parameter. This made it necessary to adjust cpp-bindings. Co-authored-by: David Snopek <dsnopek@gmail.com>
This commit is contained in:
@@ -344,7 +344,7 @@ void SceneTree::notify_group_flags(uint32_t p_call_flags, const StringName &p_gr
|
||||
}
|
||||
|
||||
if (!(p_call_flags & GROUP_CALL_DEFERRED)) {
|
||||
gr_nodes[i]->notification(p_notification);
|
||||
gr_nodes[i]->notification(p_notification, true);
|
||||
} else {
|
||||
MessageQueue::get_singleton()->push_notification(gr_nodes[i], p_notification);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user