- fixed an issue in the Paint Plugin where some polygons are discarded in a Geometry object made out of an imported SVG

- a few other changes
This commit is contained in:
Marius Stanciu
2022-05-09 12:40:12 +03:00
committed by Marius
parent 217fcf55a1
commit 411a9320e5
5 changed files with 15 additions and 7 deletions

View File

@@ -1260,7 +1260,8 @@ class Geometry(object):
geos = geos_polys
try:
for ml in merged_lines:
w_geo = merged_lines.geoms if isinstance(merged_lines, (MultiPolygon, MultiLineString)) else merged_lines
for ml in w_geo:
geos.append(ml)
except TypeError:
geos.append(merged_lines)