From 3a4cd703ace0d78f35c594a78a957053ce1af00e Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 27 Jul 2022 14:07:52 +0200 Subject: [PATCH] Fix compile. --- editor/plugins/bit_map_editor_plugin.cpp | 3 +++ editor/plugins/bit_map_editor_plugin.h | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/editor/plugins/bit_map_editor_plugin.cpp b/editor/plugins/bit_map_editor_plugin.cpp index 9a1b07cd7..d53a6bb59 100644 --- a/editor/plugins/bit_map_editor_plugin.cpp +++ b/editor/plugins/bit_map_editor_plugin.cpp @@ -32,6 +32,9 @@ #include "editor/editor_scale.h" +#include "scene/gui/label.h" +#include "scene/gui/texture_rect.h" + void BitMapEditor::setup(const Ref &p_bitmap) { Ref texture; texture.instance(); diff --git a/editor/plugins/bit_map_editor_plugin.h b/editor/plugins/bit_map_editor_plugin.h index 4232d546f..e62668466 100644 --- a/editor/plugins/bit_map_editor_plugin.h +++ b/editor/plugins/bit_map_editor_plugin.h @@ -31,9 +31,15 @@ #ifndef BIT_MAP_EDITOR_PLUGIN_H #define BIT_MAP_EDITOR_PLUGIN_H +#include "editor/editor_inspector.h" #include "editor/editor_plugin.h" #include "scene/resources/bit_map.h" +#include "scene/gui/box_container.h" + +class TextureRect; +class Label; + class BitMapEditor : public VBoxContainer { GDCLASS(BitMapEditor, VBoxContainer);