Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2017-03-30 11:47:11 +0300
committerJaime van Kessel <nallath@gmail.com>2017-03-30 11:47:11 +0300
commit13561bdb46f9371613cb62edfd2b76bb8f7a9bad (patch)
tree4dfa65176ef9f03d26f2ede10265175e493f2158 /cura/PrintInformation.py
parent0655771cb8e79a0ff2149a171b4c92cbf44cad77 (diff)
material_amounts is now defined in init
Somehow this was forgotten, which could cause issues in certain cases. CURA-3617
Diffstat (limited to 'cura/PrintInformation.py')
-rw-r--r--cura/PrintInformation.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cura/PrintInformation.py b/cura/PrintInformation.py
index 15cae19ec9..0369f536fa 100644
--- a/cura/PrintInformation.py
+++ b/cura/PrintInformation.py
@@ -75,6 +75,8 @@ class PrintInformation(QObject):
Application.getInstance().getMachineManager().activeMaterialChanged.connect(self._onActiveMaterialChanged)
self._onActiveMaterialChanged()
+ self._material_amounts = []
+
currentPrintTimeChanged = pyqtSignal()
preSlicedChanged = pyqtSignal()