mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-10-04 18:06:32 +08:00
Fixed ghosting of convex hull
This commit is contained in:
parent
132f51883f
commit
ca9ec5c4fd
@ -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…
x
Reference in New Issue
Block a user