T466: Added basic file loading and parsing

This commit is contained in:
Victor Larchenko 2016-10-12 14:23:12 +06:00 committed by Youness Alaoui
parent 65f3495a29
commit 8aa3b1b38c
2 changed files with 110 additions and 36 deletions

View file

@ -118,14 +118,8 @@ class LayerView(View):
if type(node) is ConvexHullNode and not Selection.isSelected(node.getWatchedNode()):
continue
flag = False
try:
flag = node.gcode
except AttributeError:
pass
if not node.render(renderer):
if node.getMeshData() and node.isVisible() and not flag:
if node.getMeshData() and node.isVisible():
renderer.queueNode(node, transparent = True, shader = self._ghost_shader)
def setLayer(self, value):