From d33a75906a80d320c8d56d8a77dc86b62a84c217 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 19 Apr 2016 12:04:22 +0200 Subject: [PATCH] Progress is now only emitted if it changed CURA-1339 --- cura/PrinterOutputDevice.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cura/PrinterOutputDevice.py b/cura/PrinterOutputDevice.py index 7bf992ea83..9bc46ea532 100644 --- a/cura/PrinterOutputDevice.py +++ b/cura/PrinterOutputDevice.py @@ -298,8 +298,9 @@ class PrinterOutputDevice(OutputDevice, QObject): ## Set the progress of any currently active process # /param progress Progress of the process. def setProgress(self, progress): - self._progress = progress - self.progressChanged.emit() + if self._progress != progress: + self._progress = progress + self.progressChanged.emit() ## The current processing state of the backend.