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:
authorArjen Hiemstra <ahiemstra@heimr.nl>2015-09-02 13:21:03 +0300
committerArjen Hiemstra <ahiemstra@heimr.nl>2015-09-02 13:21:03 +0300
commitac2184ef713404f81c69a2b132839626abc15fd1 (patch)
treee427590df0a30584db83d685e3bfa86d1f510345 /cura/OneAtATimeIterator.py
parent63ddfccd52d127a234e0e4325d19d8e8e1121874 (diff)
Use profile for getting setting values
Diffstat (limited to 'cura/OneAtATimeIterator.py')
-rw-r--r--cura/OneAtATimeIterator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/OneAtATimeIterator.py b/cura/OneAtATimeIterator.py
index 35adba90b3..cf767a65ff 100644
--- a/cura/OneAtATimeIterator.py
+++ b/cura/OneAtATimeIterator.py
@@ -17,7 +17,7 @@ class OneAtATimeIterator(Iterator.Iterator):
def _fillStack(self):
node_list = []
for node in self._scene_node.getChildren():
- if node.getBoundingBox().height > Application.getInstance().getMachineManager().getActiveMachineInstance().getSettingValueByKey("gantry_height"):
+ if node.getBoundingBox().height > Application.getInstance().getMachineManager().getActiveProfile().getSettingValue("gantry_height"):
return
if node.callDecoration("getConvexHull"):
node_list.append(node)