From 1e5a2ddab930286294ddcef7d89cd5bd8140beb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hajo=20Nils=20Krabbenho=CC=88ft?= Date: Mon, 21 Sep 2015 00:13:52 +0200 Subject: [PATCH] hide jumps from line view + fix solid display --- plugins/CuraEngineBackend/LayerData.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/CuraEngineBackend/LayerData.py b/plugins/CuraEngineBackend/LayerData.py index 0b3638f192..8d20a009e0 100644 --- a/plugins/CuraEngineBackend/LayerData.py +++ b/plugins/CuraEngineBackend/LayerData.py @@ -107,7 +107,7 @@ class Layer(): def build(self, offset, vertices, colors, indices): result = offset for polygon in self._polygons: - if polygon._type == Polygon.InfillType: + if polygon.type == Polygon.InfillType or polygon.type == Polygon.MoveCombingType or polygon.type == Polygon.MoveRetractionType: continue polygon.build(result, vertices, colors, indices) @@ -126,9 +126,9 @@ class Layer(): builder = MeshBuilder() for polygon in self._polygons: - if make_mesg and (polygon.type == Polygon.MoveCombingType or polygon.type == Polygon.MoveRetractionType): + if make_mesh and (polygon.type == Polygon.MoveCombingType or polygon.type == Polygon.MoveRetractionType): continue - if not make_mesg and not (polygon.type == Polygon.MoveCombingType or polygon.type == Polygon.MoveRetractionType): + if not make_mesh and not (polygon.type == Polygon.MoveCombingType or polygon.type == Polygon.MoveRetractionType): continue poly_color = polygon.getColor()