Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Kuipers <t.kuipers@ultimaker.com>2020-02-27 22:39:19 +0300
committerTim Kuipers <t.kuipers@ultimaker.com>2020-02-27 22:39:19 +0300
commit3919b1292e40db992f1387e7d0436f3ee9b6b11d (patch)
tree4c9ffb5f783063403ea74a41fde96d30f23a41ee /plugins/SolidView
parent42a1b02d4cf45b7c83929db46a7cddb844b816f1 (diff)
fix cooldown for xray warning
Diffstat (limited to 'plugins/SolidView')
-rw-r--r--plugins/SolidView/SolidView.py2
1 files changed, 1 insertions, 1 deletions
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"),