From 7e21eb7e00751851fa96bc99b695d520dbbed9a4 Mon Sep 17 00:00:00 2001 From: Hendrik Brucker Date: Tue, 11 Jul 2023 22:29:09 +0200 Subject: Extract and reorganize texture resource classes --- editor/plugins/bit_map_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'editor/plugins/bit_map_editor_plugin.cpp') diff --git a/editor/plugins/bit_map_editor_plugin.cpp b/editor/plugins/bit_map_editor_plugin.cpp index 30fc60b0e0..3388cab006 100644 --- a/editor/plugins/bit_map_editor_plugin.cpp +++ b/editor/plugins/bit_map_editor_plugin.cpp @@ -33,6 +33,7 @@ #include "editor/editor_scale.h" #include "scene/gui/label.h" #include "scene/gui/texture_rect.h" +#include "scene/resources/image_texture.h" void BitMapEditor::setup(const Ref &p_bitmap) { texture_rect->set_texture(ImageTexture::create_from_image(p_bitmap->convert_to_image())); -- cgit v1.2.3