summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2020-02-21 17:58:05 +0100
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2020-02-21 17:58:05 +0100
commit8f5ac3dbfc9d9c835e5788613d8642dd2b297a2b (patch)
tree91a1ca022df6e759f6734b1074250ee35325c32c
parent8b058d4b9a63799e29d3e9ef551bbdf8144f8f8b (diff)
Fixed flipped scene preview thumbnail
No need to flip the image generated from the viewport texture anymore.
-rw-r--r--editor/editor_node.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 59fa40846f..6d27219cbb 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();