mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Fixed issue for convex null job when there is no active profile
This commit is contained in:
parent
6d207a75d1
commit
ecf5fd4b7d
1 changed files with 7 additions and 6 deletions
|
@ -48,6 +48,7 @@ class ConvexHullJob(Job):
|
|||
hull = hull.getMinkowskiHull(Polygon(numpy.array([[-1, -1], [-1, 1], [1, 1], [1, -1]], numpy.float32)))
|
||||
|
||||
profile = Application.getInstance().getMachineManager().getActiveProfile()
|
||||
if profile:
|
||||
if profile.getSettingValue("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
|
||||
self._node.callDecoration("setConvexHullBoundary", copy.deepcopy(hull))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue