Do not slice if there is any setting with an error value

Fixes #7
This commit is contained in:
Arjen Hiemstra 2015-05-27 16:25:39 +02:00
parent 86920f4507
commit 1471a6815f

View file

@ -110,6 +110,9 @@ class CuraEngineBackend(Backend):
if not objects:
return #No point in slicing an empty build plate
if kwargs.get("settings", self._settings).hasErrorValue():
return #No slicing if we have error values since those are by definition illegal values.
self._slicing = True
self.slicingStarted.emit()