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:
authorArjen Hiemstra <ahiemstra@heimr.nl>2015-06-16 14:11:19 +0300
committerArjen Hiemstra <ahiemstra@heimr.nl>2015-06-16 14:20:22 +0300
commit9849283144e0d6287efa17b1d49b443e6747ba3c (patch)
tree3c8bfc45160fbbc48114cf7f3896bf9a4d07a586 /cura/ConvexHullNode.py
parent2aa2d4d1a8b85a475602adfbc827fa8fba55f356 (diff)
Do not render the convex hull node unless the object is selected
Contributes to #52
Diffstat (limited to 'cura/ConvexHullNode.py')
-rw-r--r--cura/ConvexHullNode.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cura/ConvexHullNode.py b/cura/ConvexHullNode.py
index a94ae60897..5be5820982 100644
--- a/cura/ConvexHullNode.py
+++ b/cura/ConvexHullNode.py
@@ -48,6 +48,9 @@ class ConvexHullNode(SceneNode):
self.setMeshData(mesh)
+ def getWatchedNode(self):
+ return self._node
+
def render(self, renderer):
if not self._material:
self._material = renderer.createMaterial(Resources.getPath(Resources.ShadersLocation, "basic.vert"), Resources.getPath(Resources.ShadersLocation, "color.frag"))