aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorpoke10242018-02-28 20:23:40 +0100
committerHein-Pieter van Braam2018-04-14 20:37:54 +0200
commit2f53325beda6531eff42460bd95881bd6f8e392b (patch)
treece6d46cdeee624352ed44b2879535f7a88f7b9c5 /editor/editor_node.cpp
parent7ad6a9aeea8186ef1f9fa06d194d070565f89f94 (diff)
downloadgodot-2f53325beda6531eff42460bd95881bd6f8e392b.tar.gz
godot-2f53325beda6531eff42460bd95881bd6f8e392b.tar.zst
godot-2f53325beda6531eff42460bd95881bd6f8e392b.zip
Fix round preview getting square on "run scene" (issue 16734)
(cherry picked from commit 899f7b125e843d7187ad7c614588d635ce989f80)
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index 7441e322b..dcd695253 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -975,6 +975,7 @@ void EditorNode::_save_scene_with_preview(String p_file, int p_idx) {
String file = cache_base + ".png";
+ post_process_preview(img);
img->save_png(file);
}