From de9e08da766494dccde0aaba7bfd1e7665b115d8 Mon Sep 17 00:00:00 2001 From: Micky Date: Thu, 13 Oct 2022 15:30:23 +0200 Subject: Comment not to remove `data` structs in some Nodes --- scene/main/node.h | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/main') diff --git a/scene/main/node.h b/scene/main/node.h index 4e6530cccd..8c82c41e46 100644 --- a/scene/main/node.h +++ b/scene/main/node.h @@ -91,6 +91,7 @@ private: SceneTree::Group *group = nullptr; }; + // This Data struct is to avoid namespace pollution in derived classes. struct Data { String scene_file_path; Ref instance_state; -- cgit v1.2.3