Browse Source

Fix SolidView to use isNonPrintingMesh decorator call

CURA-4705
Lipu Fei 7 years ago
parent
commit
107f6aff78
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/SolidView/SolidView.py

+ 1 - 1
plugins/SolidView/SolidView.py

@@ -110,7 +110,7 @@ class SolidView(View):
                     except ValueError:
                         pass
 
-                    if getattr(node, "_non_printing_mesh", False):
+                    if node.callDecoration("isNonPrintingMesh"):
                         if per_mesh_stack and (per_mesh_stack.getProperty("infill_mesh", "value") or per_mesh_stack.getProperty("cutting_mesh", "value")):
                             renderer.queueNode(node, shader = self._non_printing_shader, uniforms = uniforms, transparent = True)
                         else: