mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-24 19:31:16 -07: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)
|
self._node.callDecoration("setConvexHullJob", None)
|
||||||
|
|
||||||
if self._node.getParent().callDecoration("isGroup"):
|
if self._node.getParent().callDecoration("isGroup"):
|
||||||
|
job = self._node.getParent().callDecoration("getConvexHullJob")
|
||||||
|
if job:
|
||||||
|
job.cancel()
|
||||||
self._node.getParent().callDecoration("setConvexHull", None)
|
self._node.getParent().callDecoration("setConvexHull", None)
|
||||||
# if self._node.getParent().callDecoration("getConvexHull"):
|
hull_node = self._node.getParent().callDecoration("getConvexHullNode")
|
||||||
|
if hull_node:
|
||||||
# self._node.getParent().callDecoration("getConvexHullNode").setParent(None)
|
hull_node.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")
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue