Disable update spinner when debug redraw is active

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

No files matched your search

+1 -1
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();