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()):
if not node.render(renderer):
if node.getMeshData() and node.isVisible():
if node.getMeshData() and node.isVisible() and not node.callDecoration("getLayerData"):
uniforms = {}
shade_factor = 1.0

View File

@ -43,10 +43,10 @@
{
"default_value":
[
[-41.9, -45.8],
[-41.9, 33.9],
[59.9, 33.9],
[59.9, -45.8]
[ -41.9, -45.8 ],
[ -41.9, 33.9 ],
[ 59.9, 33.9 ],
[ 59.9, -45.8 ]
]
},
"machine_gcode_flavor": { "default_value": "Griffin" },