diff options
author | Tomasz Chabora <kobewi4e@gmail.com> | 2020-06-27 22:03:20 +0200 |
---|---|---|
committer | Tomasz Chabora <kobewi4e@gmail.com> | 2020-06-27 22:03:20 +0200 |
commit | eb6a367cb7f9b77064e5b371d05e08ec59a910cd (patch) | |
tree | 41c8e8de2609e2342bcbafa7c2da5f96aaf14d04 | |
parent | ff0583770a8152cd63265e26e2529a170c179f68 (diff) |
Generate inspector preview for Image resources
-rw-r--r-- | editor/editor_node.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 30aa24695c..f2f8805aaf 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -6488,6 +6488,7 @@ EditorNode::EditorNode() { } resource_preview->add_preview_generator(Ref<EditorTexturePreviewPlugin>(memnew(EditorTexturePreviewPlugin))); + resource_preview->add_preview_generator(Ref<EditorImagePreviewPlugin>(memnew(EditorImagePreviewPlugin))); resource_preview->add_preview_generator(Ref<EditorPackedScenePreviewPlugin>(memnew(EditorPackedScenePreviewPlugin))); resource_preview->add_preview_generator(Ref<EditorMaterialPreviewPlugin>(memnew(EditorMaterialPreviewPlugin))); resource_preview->add_preview_generator(Ref<EditorScriptPreviewPlugin>(memnew(EditorScriptPreviewPlugin))); |