- in Geo Editor fixed another Shapely deprecation warning in flatten() method
This commit is contained in:
@@ -11,6 +11,7 @@ CHANGELOG for FlatCAM beta
|
|||||||
|
|
||||||
- added an ugly form of extra pad passes functionality in Isolation Plugin - does not take into consideration the milling direction
|
- added an ugly form of extra pad passes functionality in Isolation Plugin - does not take into consideration the milling direction
|
||||||
- fixed a Shapely deprecation warning in export_dxf() in GeometryObject class
|
- fixed a Shapely deprecation warning in export_dxf() in GeometryObject class
|
||||||
|
- in Geo Editor fixed another Shapely deprecation warning in flatten() method
|
||||||
|
|
||||||
14.10.2021
|
14.10.2021
|
||||||
|
|
||||||
|
|||||||
@@ -6021,7 +6021,12 @@ class AppGeoEditor(QtCore.QObject):
|
|||||||
|
|
||||||
# ## If iterable, expand recursively.
|
# ## If iterable, expand recursively.
|
||||||
try:
|
try:
|
||||||
for geo in geometry:
|
if isinstance(geometry, (MultiPolygon, MultiLineString)):
|
||||||
|
work_geo = geometry.geoms
|
||||||
|
else:
|
||||||
|
work_geo = geometry
|
||||||
|
|
||||||
|
for geo in work_geo:
|
||||||
if geo is not None:
|
if geo is not None:
|
||||||
self.flatten(geometry=geo,
|
self.flatten(geometry=geo,
|
||||||
orient_val=orient_val,
|
orient_val=orient_val,
|
||||||
|
|||||||
Reference in New Issue
Block a user