Merge pull request #253 from zver/fix-import-multilinestring

Fix import MultiLineString. Issue was detected with shapely 1.8.2 module
master
Alain Pelletier 2024-01-20 12:10:07 -04:00 zatwierdzone przez GitHub
commit 74eb0cbb17
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
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