Comment not to remove `data` structs in some Nodes

This commit is contained in:
Micky 2022-10-13 15:30:23 +02:00
parent 29fc755f5b
commit de9e08da76
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;