From ad95f94d408f8023e91533217da452f122fbc1ef Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Thu, 5 Jan 2017 13:04:56 -0500 Subject: [PATCH] Remove redundant check --- plugins/GCodeReader/GCodeReader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GCodeReader/GCodeReader.py b/plugins/GCodeReader/GCodeReader.py index 894783c07d..34ea91a727 100644 --- a/plugins/GCodeReader/GCodeReader.py +++ b/plugins/GCodeReader/GCodeReader.py @@ -139,7 +139,7 @@ class GCodeReader(MeshReader): path.append([x, y, z, LayerPolygon.MoveCombingType]) if z_changed: if not self._is_layers_in_file: - if not self._is_layers_in_file and len(path) > 1 and z > 0: + if len(path) > 1 and z > 0: if self._createPolygon(z, path): self._layer += 1 path.clear()