summaryrefslogtreecommitdiffstats
path: root/editor/progress_dialog.cpp
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuyakou@gmail.com>2022-09-05 21:24:58 -0700
committerFredia Huya-Kouadio <fhuyakou@gmail.com>2022-09-07 13:30:10 -0700
commitc3c0bea61537f12d8116b950e9903bb37e515252 (patch)
treec3a32d9388d5df3a6460f97c7d31516bb0cfef14 /editor/progress_dialog.cpp
parent1b3511ad49ae6e8dd3a1ce6ce89ba50c823a585b (diff)
downloadredot-engine-c3c0bea61537f12d8116b950e9903bb37e515252.tar.gz
Enable long press, pan and scale gestures for the Godot Android Editor
Fix the bug causing the editor to crash when running the project.
Diffstat (limited to 'editor/progress_dialog.cpp')
-rw-r--r--editor/progress_dialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/progress_dialog.cpp b/editor/progress_dialog.cpp
index 1c9afa8be8..cfdf743bb0 100644
--- a/editor/progress_dialog.cpp
+++ b/editor/progress_dialog.cpp
@@ -207,7 +207,9 @@ bool ProgressDialog::task_step(const String &p_task, const String &p_state, int
DisplayServer::get_singleton()->process_events();
}
+#ifndef ANDROID_ENABLED
Main::iteration(); // this will not work on a lot of platforms, so it's only meant for the editor
+#endif
return cancelled;
}