Fix to build and run on Artix (https://aur.archlinux.org/packages/flatcam-qt6).
This commit is contained in:
@@ -1126,10 +1126,10 @@ class Excellon(Geometry):
|
||||
|
||||
def bounds_rec(obj):
|
||||
if type(obj) is list:
|
||||
minx = np.Inf
|
||||
miny = np.Inf
|
||||
maxx = -np.Inf
|
||||
maxy = -np.Inf
|
||||
minx = np.inf
|
||||
miny = np.inf
|
||||
maxx = -np.inf
|
||||
maxy = -np.inf
|
||||
|
||||
for k in obj:
|
||||
if type(k) is dict:
|
||||
|
||||
Reference in New Issue
Block a user