Marius Stanciu 6 лет назад
Родитель
Сommit
f9580be396
1 измененных файлов с 1 добавлено и 0 удалено
  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: