From 3919b1292e40db992f1387e7d0436f3ee9b6b11d Mon Sep 17 00:00:00 2001 From: Tim Kuipers Date: Thu, 27 Feb 2020 20:39:19 +0100 Subject: [PATCH] fix cooldown for xray warning --- plugins/SolidView/SolidView.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/SolidView/SolidView.py b/plugins/SolidView/SolidView.py index 52e0cf936f..f0d1d75690 100644 --- a/plugins/SolidView/SolidView.py +++ b/plugins/SolidView/SolidView.py @@ -66,7 +66,7 @@ class SolidView(View): self._next_xray_checking_time = time.time() self._xray_checking_update_time = 1.0 # seconds - self._xray_warning_cooldown = 1 # reshow Model error message every 10 minutes + self._xray_warning_cooldown = 60 * 10 # reshow Model error message every 10 minutes self._xray_warning_message = Message(catalog.i18nc("@info:status", "Your model is not manifold. The highlighted areas indicate either missing or extraneous surfaces.") , lifetime = 60 * 5 # leave message for 5 minutes , title = catalog.i18nc("@info:title", "Model errors"),