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
commit f32f5b70d8
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;