Repository: godotengine/godot (language: cpp)

Issue:
DDS Textures Failing to Generate Thumbnails in 4.4.dev6
### Tested versions

- Reproducible in: v4.4.dev6.mono.official [1f47e4c4e]

### System information

Godot v4.4.dev6.mono - macOS 15.2.0 - Multi-window, 1 monitor - Metal (Forward+) - integrated Apple M1 (Apple7) - Apple M1 (8 threads)

### Issue description

DDS texture no longer generate a proper thumbnail in File System, but can be previewed correctly in the inspector:

![Image](https://github.com/user-attachments/assets/8d5affcd-939c-4c71-a435-2d00ff947c09)
![Image](https://github.com/user-attachments/assets/e6dab1ab-d18c-4a5c-b275-9faccda29a94)


### Steps to reproduce

- Import a DDS Texture
- Observe no thumbnail is generated

### Minimal reproduction project (MRP)

N/A


Discussion / hints:
What version did this last work on for you?
I did a test and until 4.4 dev 3 the dds files was generating the thumbail, the bug started after 4.4 dev 4. Also, if you open the project in 4.4 dev 3 and open in 4.4 dev 4 after, the thumbnail will appear. I'll bisect this.
Bisected to #98322, @BlueCube3310

![Image](https://github.com/user-attachments/assets/01c3eb69-e8f7-4618-8e58-e0a1a63f09a0)


Fix patch:
diff --git a/editor/plugins/editor_preview_plugins.cpp b/editor/plugins/editor_preview_plugins.cpp
index 3618c0e6d3cb..321f9c55e7e1 100644
--- a/editor/plugins/editor_preview_plugins.cpp
+++ b/editor/plugins/editor_preview_plugins.cpp
@@ -77,7 +77,7 @@ void post_process_preview(Ref<Image> 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 {


Test patch: