mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:19:05 +08:00
Revert "Forced hull calculation of parent should now always occur"
This reverts commit c501d0a37c792b11a77cc48ac1d573d8aa7cffb5.
This commit is contained in:
parent
c501d0a37c
commit
49cb12bda1
@ -49,12 +49,8 @@ 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"):
|
||||
job = self._node.getParent().callDecoration("getConvexJob")
|
||||
if job:
|
||||
job.cancel()
|
||||
self._node.getParent().callDecoration("setConvexHull", None) #Force recalculation
|
||||
#if self._node.getParent().callDecoration("isGroup"):
|
||||
# if self._node.getParent().callDecoration("getConvexHull"):
|
||||
|
||||
# self._node.getParent().callDecoration("getConvexHullNode").setParent(None)
|
||||
# self._node.getParent().callDecoration("setConvexHull", None)
|
||||
|
Loading…
x
Reference in New Issue
Block a user