Fix import MultiLineString. Issue was detected with shapely 1.8.2 module

pull/253/head
Denis Klimov 2024-01-17 09:27:49 +05:00
rodzic 82b10d6bcf
commit 5a5b02709f
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -179,7 +179,7 @@ class CamCurveOvercuts(bpy.types.Operator):
for s in shapes.geoms:
s = shapely.geometry.polygon.orient(s, 1)
if s.boundary.geom_type == 'LineString':
from shapely import MultiLineString
from shapely.geometry import MultiLineString
loops = MultiLineString([s.boundary])
else:
loops = s.boundary