CURA-4400 Bugfix do not handle layer scene nodes in solidview

This commit is contained in:
Jack Ha 2018-03-06 16:28:40 +01:00
parent 63e679e4a0
commit 095d9fbdf6
2 changed files with 5 additions and 5 deletions

View file

@ -78,7 +78,7 @@ class SolidView(View):
for node in DepthFirstIterator(scene.getRoot()): for node in DepthFirstIterator(scene.getRoot()):
if not node.render(renderer): if not node.render(renderer):
if node.getMeshData() and node.isVisible(): if node.getMeshData() and node.isVisible() and not node.callDecoration("getLayerData"):
uniforms = {} uniforms = {}
shade_factor = 1.0 shade_factor = 1.0