mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 03:23:15 +08:00
Remove redundant check
This commit is contained in:
parent
33cd386556
commit
ad95f94d40
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user