From 792c3426f891dc7c3ac717e38b7bd6e731687b71 Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Tue, 18 Aug 2015 18:11:32 +0200 Subject: Fix convex hull and other bits so they use the new API --- cura/OneAtATimeIterator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cura/OneAtATimeIterator.py') 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 + -- cgit v1.2.3