From ab0a2517b11a662c4932ec59cdfa71dcc967cc37 Mon Sep 17 00:00:00 2001 From: BlueCube3310 <53150244+BlueCube3310@users.noreply.github.com> Date: Tue, 10 Dec 2024 14:57:10 +0100 Subject: [PATCH] Consider all texture types for resource thumbnail generation --- editor/plugins/editor_preview_plugins.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/editor_preview_plugins.cpp b/editor/plugins/editor_preview_plugins.cpp index 3618c0e6d3c..321f9c55e7e 100644 --- a/editor/plugins/editor_preview_plugins.cpp +++ b/editor/plugins/editor_preview_plugins.cpp @@ -77,7 +77,7 @@ void post_process_preview(Ref p_image) { } bool EditorTexturePreviewPlugin::handles(const String &p_type) const { - return ClassDB::is_parent_class(p_type, "Texture2D") || ClassDB::is_parent_class(p_type, "Texture3D") || ClassDB::is_parent_class(p_type, "TextureLayered"); + return ClassDB::is_parent_class(p_type, "Texture"); } bool EditorTexturePreviewPlugin::generate_small_preview_automatically() const {