diff options
Diffstat (limited to 'scene/2d/canvas_item.h')
-rw-r--r-- | scene/2d/canvas_item.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/2d/canvas_item.h b/scene/2d/canvas_item.h index 5489e105d9..397b206677 100644 --- a/scene/2d/canvas_item.h +++ b/scene/2d/canvas_item.h @@ -59,7 +59,7 @@ private: RID canvas_item; String group; - Viewport *viewport; + CanvasLayer *canvas_layer; float opacity; @@ -200,7 +200,7 @@ public: RID get_viewport_rid() const; RID get_canvas() const; Ref<World2D> get_world_2d() const; - Viewport *get_viewport() const; + CanvasItem(); |