From 7bd101b5c530faa85387b19ce8bf56b2945969d2 Mon Sep 17 00:00:00 2001 From: Tomasz Chabora Date: Sat, 27 Jun 2020 22:03:20 +0200 Subject: [PATCH] Generate inspector preview for Image resources (cherry picked from commit eb6a367cb7f9b77064e5b371d05e08ec59a910cd) --- editor/editor_node.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 6d030a43687..0fb7123fe58 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -6696,6 +6696,7 @@ EditorNode::EditorNode() { } resource_preview->add_preview_generator(Ref(memnew(EditorTexturePreviewPlugin))); + resource_preview->add_preview_generator(Ref(memnew(EditorImagePreviewPlugin))); resource_preview->add_preview_generator(Ref(memnew(EditorPackedScenePreviewPlugin))); resource_preview->add_preview_generator(Ref(memnew(EditorMaterialPreviewPlugin))); resource_preview->add_preview_generator(Ref(memnew(EditorScriptPreviewPlugin)));