mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 14:39:02 +08:00
Removed some debug.
Contributes to CURA-1504
This commit is contained in:
parent
5d533d642d
commit
7e3dd3d443
@ -10,7 +10,7 @@ import numpy
|
||||
## The convex hull decorator is a scene node decorator that adds the convex hull functionality to a scene node.
|
||||
# If a scene node has a convex hull decorator, it will have a shadow in which other objects can not be printed.
|
||||
class ConvexHullDecorator(SceneNodeDecorator):
|
||||
def __init__(self,):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
|
||||
self._convex_hull_node = None
|
||||
@ -65,10 +65,8 @@ class ConvexHullDecorator(SceneNodeDecorator):
|
||||
convex_hull = self.getConvexHull()
|
||||
if self._convex_hull_node:
|
||||
if self._convex_hull_node.getHull() == convex_hull:
|
||||
Logger.log('d', 'ConvexHullDecorator not creating a new ConvexHullNode')
|
||||
return
|
||||
self._convex_hull_node.setParent(None)
|
||||
Logger.log('d', 'ConvexHullDecorator creating ConvexHullNode')
|
||||
hull_node = ConvexHullNode.ConvexHullNode(self._node, convex_hull,
|
||||
Application.getInstance().getController().getScene().getRoot())
|
||||
self._convex_hull_node = hull_node
|
||||
|
Loading…
x
Reference in New Issue
Block a user