1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Automatically reparent editor message dialogs to avoid error spam.

(cherry picked from commit 921f3b7589)
This commit is contained in:
bruvzg
2023-02-15 16:35:16 +02:00
committed by Yuri Sizov
parent d929784491
commit 764fe8ac51
6 changed files with 113 additions and 44 deletions

View File

@@ -137,6 +137,7 @@ Vector<Ref<Texture2D>> EditorInterface::make_mesh_previews(const Vector<Ref<Mesh
RS::get_singleton()->instance_set_transform(light_instance2, xform * Transform3D().looking_at(Vector3(+1, -1, -2), Vector3(0, 1, 0)));
ep.step(TTR("Thumbnail..."), i);
DisplayServer::get_singleton()->process_events();
Main::iteration();
Main::iteration();
Ref<Image> img = RS::get_singleton()->texture_2d_get(viewport_texture);