Fix to build and run on Artix (https://aur.archlinux.org/packages/flatcam-qt6).
This commit is contained in:
@@ -7970,10 +7970,10 @@ class TransformEditorTool(AppTool):
|
||||
"""
|
||||
|
||||
def bounds_rec(lst):
|
||||
minx = np.Inf
|
||||
miny = np.Inf
|
||||
maxx = -np.Inf
|
||||
maxy = -np.Inf
|
||||
minx = np.inf
|
||||
miny = np.inf
|
||||
maxx = -np.inf
|
||||
maxy = -np.inf
|
||||
|
||||
try:
|
||||
for shape in lst:
|
||||
@@ -7993,10 +7993,10 @@ class TransformEditorTool(AppTool):
|
||||
|
||||
|
||||
def get_shapely_list_bounds(geometry_list):
|
||||
xmin = np.Inf
|
||||
ymin = np.Inf
|
||||
xmax = -np.Inf
|
||||
ymax = -np.Inf
|
||||
xmin = np.inf
|
||||
ymin = np.inf
|
||||
xmax = -np.inf
|
||||
ymax = -np.inf
|
||||
|
||||
for gs in geometry_list:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user