Do not report progress if the option is not set

This commit is contained in:
Arjen Hiemstra 2015-04-21 17:21:32 +02:00
parent 089aad3241
commit a27cb80531

View File

@ -108,7 +108,10 @@ class CuraEngineBackend(Backend):
self._slicing = True
self.slicingStarted.emit()
self.processingProgress.emit(0.0)
self._report_progress = kwargs.get('report_progress', True)
if self._report_progress:
self.processingProgress.emit(0.0)
self._sendSettings(kwargs.get('settings', self._settings))