diff options
author | Juan Linietsky <reduzio@gmail.com> | 2023-05-12 13:53:15 +0200 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2023-05-15 16:54:10 +0200 |
commit | 0a9f72d5a80c8957ef5172f546c9076089862cef (patch) | |
tree | 250a57d39630efd1a290efd897d11a838dd53867 /scene/2d/node_2d.h | |
parent | fd4a06c51555904104b18494d0224f450d74fe2a (diff) | |
download | redot-engine-0a9f72d5a80c8957ef5172f546c9076089862cef.tar.gz |
Make more base nodes thread safe
Ongoing work to make more of the base nodes thread safe.
Diffstat (limited to 'scene/2d/node_2d.h')
-rw-r--r-- | scene/2d/node_2d.h | 3 |
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(); |