- minor changes

This commit is contained in:
Marius Stanciu
2022-04-18 03:54:05 +03:00
committed by Marius
parent 6b6367fae8
commit b70da1b4b2

View File

@@ -1897,7 +1897,10 @@ class FCMove(FCShapeTool):
def selection_bbox(self):
geo_list = []
for select_shape in self.draw_app.get_selected():
geometric_data = select_shape.geo
if select_shape:
geometric_data = select_shape.geo
else:
continue
try:
w_geo = geometric_data.geoms if \
isinstance(geometric_data, (MultiPolygon, MultiLineString)) else geometric_data