Bläddra i källkod

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

Marius Stanciu 6 år sedan
förälder
incheckning
3565a39918
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      camlib.py

+ 2 - 2
camlib.py

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