1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Ensure process notification is received only if really enabled, fixes #7894

This commit is contained in:
Juan Linietsky
2018-07-29 21:20:41 -03:00
parent e896261b87
commit 15db793ef2
3 changed files with 15 additions and 1 deletions

View File

@@ -951,6 +951,8 @@ void SceneTree::_notify_group_pause(const StringName &p_group, int p_notificatio
if (!n->can_process())
continue;
if (!n->can_process_notification(p_notification))
continue;
n->notification(p_notification);
//ERR_FAIL_COND(node_count != g.nodes.size());