mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-07 03:29:00 +08:00
Forced hull calculation of parent should now always occur
This commit is contained in:
parent
5ba4a67519
commit
c501d0a37c
@ -49,8 +49,12 @@ class ConvexHullJob(Job):
|
||||
self._node.callDecoration("setConvexHullNode", hull_node)
|
||||
self._node.callDecoration("setConvexHull", hull)
|
||||
self._node.callDecoration("setConvexHullJob", None)
|
||||
#if self._node.getParent().callDecoration("isGroup"):
|
||||
# if self._node.getParent().callDecoration("getConvexHull"):
|
||||
if self._node.getParent().callDecoration("isGroup"):
|
||||
if self._node.getParent().callDecoration("getConvexHull"):
|
||||
job = self._node.getParent().callDecoration("getConvexJob")
|
||||
if job:
|
||||
job.cancel()
|
||||
self._node.getParent().callDecoration("setConvexHull", None) #Force recalculation
|
||||
|
||||
# self._node.getParent().callDecoration("getConvexHullNode").setParent(None)
|
||||
# self._node.getParent().callDecoration("setConvexHull", None)
|
||||
|
Loading…
x
Reference in New Issue
Block a user