fix cooldown for xray warning

This commit is contained in:
Tim Kuipers 2020-02-27 20:39:19 +01:00
parent 42a1b02d4c
commit 3919b1292e

View file

@ -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"),