From 8f5ac3dbfc9d9c835e5788613d8642dd2b297a2b Mon Sep 17 00:00:00 2001 From: PouleyKetchoupp Date: Fri, 21 Feb 2020 17:58:05 +0100 Subject: [PATCH] Fixed flipped scene preview thumbnail No need to flip the image generated from the viewport texture anymore. --- editor/editor_node.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 59fa40846ff..6d27219cbbd 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -1172,8 +1172,6 @@ void EditorNode::_save_scene_with_preview(String p_file, int p_idx) { } img->convert(Image::FORMAT_RGB8); - img->flip_y(); - //save thumbnail directly, as thumbnailer may not update due to actual scene not changing md5 String temp_path = EditorSettings::get_singleton()->get_cache_dir(); String cache_base = ProjectSettings::get_singleton()->globalize_path(p_file).md5_text();