Fix convex hull and other bits so they use the new API

This commit is contained in:
Arjen Hiemstra 2015-08-18 18:11:32 +02:00
parent a8c302a8ed
commit 792c3426f8
3 changed files with 4 additions and 4 deletions

View file

@ -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