diff options
author | Arjen Hiemstra <ahiemstra@heimr.nl> | 2015-09-02 13:21:03 +0300 |
---|---|---|
committer | Arjen Hiemstra <ahiemstra@heimr.nl> | 2015-09-02 13:21:03 +0300 |
commit | ac2184ef713404f81c69a2b132839626abc15fd1 (patch) | |
tree | e427590df0a30584db83d685e3bfa86d1f510345 | |
parent | 63ddfccd52d127a234e0e4325d19d8e8e1121874 (diff) |
Use profile for getting setting values
-rw-r--r-- | cura/OneAtATimeIterator.py | 2 |
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) |