Disable update spinner when debug redraw is active

This commit is contained in:
kobewi 2023-10-11 13:21:29 +02:00
parent 4b7cc99bc1
commit 41fa6c32b4
5 changed files with 8 additions and 1 deletions

View file

@ -790,7 +790,7 @@ void EditorNode::_notification(int p_what) {
}
void EditorNode::_update_update_spinner() {
update_spinner->set_visible(EDITOR_GET("interface/editor/show_update_spinner"));
update_spinner->set_visible(!RenderingServer::get_singleton()->canvas_item_get_debug_redraw() && EDITOR_GET("interface/editor/show_update_spinner"));
const bool update_continuously = EDITOR_GET("interface/editor/update_continuously");
PopupMenu *update_popup = update_spinner->get_popup();