mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Removed some debug.
Contributes to CURA-1504
This commit is contained in:
parent
5d533d642d
commit
7e3dd3d443
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue