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-08-18 19:11:32 +0300
committerArjen Hiemstra <ahiemstra@heimr.nl>2015-08-18 19:11:32 +0300
commit792c3426f891dc7c3ac717e38b7bd6e731687b71 (patch)
tree77626ca07dc7fa0d113fc7ce1d2b9511ed256480 /cura/OneAtATimeIterator.py
parenta8c302a8ed5cc3a8d0666845f9a0cdb2701c7c64 (diff)
Fix convex hull and other bits so they use the new API
Diffstat (limited to 'cura/OneAtATimeIterator.py')
-rw-r--r--cura/OneAtATimeIterator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/OneAtATimeIterator.py b/cura/OneAtATimeIterator.py
index 958d1e5b5f..35adba90b3 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().getActiveMachine().getSettingValueByKey("gantry_height"):
+ if node.getBoundingBox().height > Application.getInstance().getMachineManager().getActiveMachineInstance().getSettingValueByKey("gantry_height"):
return
if node.callDecoration("getConvexHull"):
node_list.append(node)
@@ -103,4 +103,4 @@ class _objectOrder():
"""
self.order = order
self.todo = todo
- \ No newline at end of file
+