summaryrefslogtreecommitdiffstats
path: root/scene/2d/node_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/node_2d.h')
-rw-r--r--scene/2d/node_2d.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/scene/2d/node_2d.h b/scene/2d/node_2d.h
index 119e23cd98..6bdf5d6eb5 100644
--- a/scene/2d/node_2d.h
+++ b/scene/2d/node_2d.h
@@ -36,6 +36,7 @@
class Node2D : public CanvasItem {
GDCLASS(Node2D, CanvasItem);
+ SafeFlag xform_dirty;
Point2 position;
real_t rotation = 0.0;
Size2 scale = Vector2(1, 1);
@@ -43,8 +44,6 @@ class Node2D : public CanvasItem {
Transform2D transform;
- bool _xform_dirty = false;
-
void _update_transform();
void _update_xform_values();