1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Merge pull request #67348 from Mickeon/salvage-a-dear-comment

Comment not to remove `data` structs in some Nodes
This commit is contained in:
Rémi Verschelde
2022-10-13 18:40:58 +02:00
3 changed files with 3 additions and 0 deletions

View File

@@ -96,6 +96,7 @@ private:
mutable SelfList<Node> xform_change;
// This Data struct is to avoid namespace pollution in derived classes.
struct Data {
mutable Transform3D global_transform;
mutable Transform3D local_transform;

View File

@@ -159,6 +159,7 @@ private:
}
};
// This Data struct is to avoid namespace pollution in derived classes.
struct Data {
// Global relations.

View File

@@ -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;