mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Forced hull calculation of parent should now always occur
This commit is contained in:
parent
5ba4a67519
commit
c501d0a37c
1 changed files with 6 additions and 2 deletions
|
@ -49,8 +49,12 @@ class ConvexHullJob(Job):
|
||||||
self._node.callDecoration("setConvexHullNode", hull_node)
|
self._node.callDecoration("setConvexHullNode", hull_node)
|
||||||
self._node.callDecoration("setConvexHull", hull)
|
self._node.callDecoration("setConvexHull", hull)
|
||||||
self._node.callDecoration("setConvexHullJob", None)
|
self._node.callDecoration("setConvexHullJob", None)
|
||||||
#if self._node.getParent().callDecoration("isGroup"):
|
if self._node.getParent().callDecoration("isGroup"):
|
||||||
# if self._node.getParent().callDecoration("getConvexHull"):
|
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("getConvexHullNode").setParent(None)
|
||||||
# self._node.getParent().callDecoration("setConvexHull", None)
|
# self._node.getParent().callDecoration("setConvexHull", None)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue