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

@ -45,7 +45,7 @@ class ConvexHullJob(Job):
# Then, do a Minkowski hull with a simple 1x1 quad to outset and round the normal convex hull.
# This is done because of rounding errors.
hull = hull.getMinkowskiHull(Polygon(numpy.array([[-1, -1], [-1, 1], [1, 1], [1, -1]], numpy.float32)))
settings = Application.getInstance().getActiveMachine()
settings = Application.getInstance().getMachineManager().getActiveMachineInstance()
if settings.getSettingValueByKey("print_sequence") == "One at a time" and not self._node.getParent().callDecoration("isGroup"):
# Printing one at a time and it's not an object in a group