summaryrefslogtreecommitdiffstats
path: root/scene/main/canvas_layer.cpp
diff options
context:
space:
mode:
authorHendrik Brucker <hendrik.brucker@mail.de>2022-02-12 02:46:22 +0100
committerHendrik Brucker <hendrik.brucker@mail.de>2022-02-12 02:46:22 +0100
commitb396fd4eef36d23fa7325b13a4b8e120f1f000c9 (patch)
treedab3f153b0ee03a4435bb293e68330b635d7787b /scene/main/canvas_layer.cpp
parent36892b7fc8633d450dd54e2266147b7a5677bb97 (diff)
downloadredot-engine-b396fd4eef36d23fa7325b13a4b8e120f1f000c9.tar.gz
Improve compilation speed (forward declarations/includes cleanup)
Diffstat (limited to 'scene/main/canvas_layer.cpp')
-rw-r--r--scene/main/canvas_layer.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/scene/main/canvas_layer.cpp b/scene/main/canvas_layer.cpp
index 3f3e72357b..d4418a3cde 100644
--- a/scene/main/canvas_layer.cpp
+++ b/scene/main/canvas_layer.cpp
@@ -29,8 +29,10 @@
/*************************************************************************/
#include "canvas_layer.h"
-#include "canvas_item.h"
-#include "viewport.h"
+
+#include "scene/main/canvas_item.h"
+#include "scene/main/viewport.h"
+#include "scene/resources/world_2d.h"
void CanvasLayer::set_layer(int p_xform) {
layer = p_xform;