When an error check finishes, only trigger auto-slicing if needed

CURA-4092

Many things can trigger an error check, but Cura should only auto-slice
if the error check was scheduled due to a value change.
This commit is contained in:
Lipu Fei 2017-07-27 10:20:04 +02:00
parent c16bfa8949
commit 439f3e5029

View file

@ -453,6 +453,7 @@ class CuraEngineBackend(QObject, Backend):
def _onStackErrorCheckFinished(self):
self._is_error_check_scheduled = False
if self._need_slicing:
self.needsSlicing()
self._onChanged()