You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Rationalize busy waits
This commit is contained in:
@@ -5454,7 +5454,6 @@ bool EditorNode::immediate_confirmation_dialog(const String &p_text, const Strin
|
||||
cd->popup_centered();
|
||||
|
||||
while (true) {
|
||||
OS::get_singleton()->delay_usec(1);
|
||||
DisplayServer::get_singleton()->process_events();
|
||||
Main::iteration();
|
||||
if (singleton->immediate_dialog_confirmed || !cd->is_visible()) {
|
||||
|
||||
Reference in New Issue
Block a user