Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Edwards <s.edwards@ultimaker.com>2016-05-25 16:51:12 +0300
committerSimon Edwards <s.edwards@ultimaker.com>2016-05-25 16:51:12 +0300
commit7e3dd3d443dfbda122bd14f0c2b73ba6f6831e13 (patch)
treead0d1eeaf1fe53ec08a9fb1b97ab040f92ffd7cf /cura/ConvexHullDecorator.py
parent5d533d642db6a905374a908ba7cb4f5c07d42f94 (diff)
Removed some debug.
Contributes to CURA-1504
Diffstat (limited to 'cura/ConvexHullDecorator.py')
-rw-r--r--cura/ConvexHullDecorator.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/cura/ConvexHullDecorator.py b/cura/ConvexHullDecorator.py
index 1d03c250e5..c42ab4f339 100644
--- a/cura/ConvexHullDecorator.py
+++ b/cura/ConvexHullDecorator.py
@@ -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