summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-13 18:40:58 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-13 18:40:58 +0200
commitf32f5b70d8efc6695e4b83b8878432e01c4a17be (patch)
tree80b50546a3a562ec1d9e83a15dc76801bed3625b /scene/main
parent027df4124473f4ff09be2f6a08a0770befc6a077 (diff)
parentde9e08da766494dccde0aaba7bfd1e7665b115d8 (diff)
Merge pull request #67348 from Mickeon/salvage-a-dear-comment
Comment not to remove `data` structs in some Nodes
Diffstat (limited to 'scene/main')
-rw-r--r--scene/main/node.h1
1 files changed, 1 insertions, 0 deletions
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<SceneState> instance_state;