Marius Stanciu hace 6 años
padre
commit
f9580be396
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      flatcamParsers/ParseHPGL2.py

+ 1 - 0
flatcamParsers/ParseHPGL2.py

@@ -316,6 +316,7 @@ class HPGL2(Geometry):
                                 geo = LineString(path)
                                 self.tools[current_tool]['solid_geometry'].append(geo)
                                 geo_buffer.append(geo)
+                                path[:] = []
 
                             # if linear_x or linear_y are None, ignore those
                             if linear_x is not None and linear_y is not None: