You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Merge pull request #36427 from nekomatata/scene-thumbnail-flipped
Fixed flipped scene preview thumbnail
This commit is contained in:
@@ -1195,8 +1195,6 @@ void EditorNode::_save_scene_with_preview(String p_file, int p_idx) {
|
|||||||
}
|
}
|
||||||
img->convert(Image::FORMAT_RGB8);
|
img->convert(Image::FORMAT_RGB8);
|
||||||
|
|
||||||
img->flip_y();
|
|
||||||
|
|
||||||
//save thumbnail directly, as thumbnailer may not update due to actual scene not changing md5
|
//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 temp_path = EditorSettings::get_singleton()->get_cache_dir();
|
||||||
String cache_base = ProjectSettings::get_singleton()->globalize_path(p_file).md5_text();
|
String cache_base = ProjectSettings::get_singleton()->globalize_path(p_file).md5_text();
|
||||||
|
|||||||
Reference in New Issue
Block a user