mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 05:23:58 -06:00
Fixed ghosting of convex hull
This commit is contained in:
parent
132f51883f
commit
ca9ec5c4fd
1 changed files with 6 additions and 9 deletions
|
@ -51,14 +51,11 @@ class ConvexHullJob(Job):
|
|||
self._node.callDecoration("setConvexHullJob", None)
|
||||
|
||||
if self._node.getParent().callDecoration("isGroup"):
|
||||
job = self._node.getParent().callDecoration("getConvexHullJob")
|
||||
if job:
|
||||
job.cancel()
|
||||
self._node.getParent().callDecoration("setConvexHull", None)
|
||||
# if self._node.getParent().callDecoration("getConvexHull"):
|
||||
|
||||
# self._node.getParent().callDecoration("getConvexHullNode").setParent(None)
|
||||
# self._node.getParent().callDecoration("setConvexHull", None)
|
||||
# self._node.getParent().callDecoration("setConvexHullJob", None)
|
||||
#if hasattr(self._node.getParent(), "_convex_hull"):
|
||||
# convex_hull = getattr(self._node.getParent(), "_convex_hull")
|
||||
|
||||
#delattr(self._node.getParent(), "_convex_hull")
|
||||
hull_node = self._node.getParent().callDecoration("getConvexHullNode")
|
||||
if hull_node:
|
||||
hull_node.setParent(None)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue