diff options
author | Arjen Hiemstra <ahiemstra@heimr.nl> | 2015-06-16 14:11:19 +0300 |
---|---|---|
committer | Arjen Hiemstra <ahiemstra@heimr.nl> | 2015-06-16 14:20:22 +0300 |
commit | 9849283144e0d6287efa17b1d49b443e6747ba3c (patch) | |
tree | 3c8bfc45160fbbc48114cf7f3896bf9a4d07a586 /cura/ConvexHullNode.py | |
parent | 2aa2d4d1a8b85a475602adfbc827fa8fba55f356 (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.py | 3 |
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")) |