- fixed an issue for importing DXF as Geometry when the DXF geometry is a single line
- updated the convert_any2geo() method such that resulting geometry objects have the tools attribute required in the newer versions of the app
This commit is contained in:
committed by
Marius Stanciu
parent
ad5ae43ab4
commit
2545da79b5
@@ -1261,8 +1261,12 @@ class Geometry(object):
|
||||
|
||||
merged_lines = linemerge(geos_lines)
|
||||
geos = geos_polys
|
||||
for ml in merged_lines:
|
||||
geos.append(ml)
|
||||
|
||||
try:
|
||||
for ml in merged_lines:
|
||||
geos.append(ml)
|
||||
except TypeError:
|
||||
geos.append(merged_lines)
|
||||
|
||||
# Add to object
|
||||
if self.solid_geometry is None:
|
||||
|
||||
Reference in New Issue
Block a user