summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
authorMicky <micheledevita2@gmail.com>2022-10-13 15:30:23 +0200
committerMicky <micheledevita2@gmail.com>2022-10-13 15:52:35 +0200
commitde9e08da766494dccde0aaba7bfd1e7665b115d8 (patch)
tree27b9f8c6f62c50316aabd487d356f24918c527ba /scene/3d
parent29fc755f5b93f75660c86f337dce1443197a3d5d (diff)
Comment not to remove `data` structs in some Nodes
Diffstat (limited to 'scene/3d')
-rw-r--r--scene/3d/node_3d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/node_3d.h b/scene/3d/node_3d.h
index 90c7bc89ef..04f73a4cbd 100644
--- a/scene/3d/node_3d.h
+++ b/scene/3d/node_3d.h
@@ -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;