Преглед изворни кода

- restored some changes in camlib.Gerber (the last_path_aperture value changed in G02/G03 parsing)

Marius Stanciu пре 6 година
родитељ
комит
3565a39918
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      camlib.py

+ 2 - 2
camlib.py

@@ -2932,7 +2932,7 @@ class Gerber (Geometry):
 
                         # Append
                         path += this_arc
-                        # last_path_aperture = current_aperture
+                        last_path_aperture = current_aperture
 
                         continue
 
@@ -2982,7 +2982,7 @@ class Gerber (Geometry):
                                 current_x, current_y = circular_x, circular_y
 
                                 path += this_arc
-                                # last_path_aperture = current_aperture
+                                last_path_aperture = current_aperture
                                 valid = True
                                 break