Skip to content

Commit

Permalink
Merge pull request #253 from zver/fix-import-multilinestring
Browse files Browse the repository at this point in the history
Fix import MultiLineString. Issue was detected with shapely 1.8.2 module
  • Loading branch information
pppalain committed Jan 20, 2024
2 parents 407e5d8 + 5a5b027 commit 74eb0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/addons/cam/curvecamtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def execute(self, context):
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
Expand Down

0 comments on commit 74eb0cb

Please sign in to comment.