mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Fix convex hull and other bits so they use the new API
This commit is contained in:
parent
a8c302a8ed
commit
792c3426f8
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue