diff --git a/CHANGELOG.md b/CHANGELOG.md index 82769b30..1c536981 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ CHANGELOG for FlatCAM beta ================================================= +2.09.2021 + +- in Geometry Editor, deleting a shape from the Table context menu will update now the plot + 1.09.2021 - fixed the issue in Milling Plugin that did not automatically set the object combo to the previously selected object diff --git a/appEditors/AppGeoEditor.py b/appEditors/AppGeoEditor.py index 6031973a..a7a24598 100644 --- a/appEditors/AppGeoEditor.py +++ b/appEditors/AppGeoEditor.py @@ -4171,13 +4171,15 @@ class AppGeoEditor(QtCore.QObject): if old_geo.geom_type == 'LineaRing': processed_shapes.append(obj_shape) new_shapes.append(LinearRing(list(old_geo.coords)[::-1])) + elif old_geo.geom_type == 'LineString': + processed_shapes.append(obj_shape) + new_shapes.append(LineString(list(old_geo.coords)[::-1])) elif old_geo.geom_type == 'Polygon': processed_shapes.append(obj_shape) if old_geo.exterior.is_ccw is True: new_shapes.append(deepcopy(orient(old_geo, -1))) else: new_shapes.append(deepcopy(orient(old_geo, 1))) - except ValueError: pass @@ -5019,6 +5021,7 @@ class AppGeoEditor(QtCore.QObject): tempref = [s for s in self.selected] for shape in tempref: self.delete_shape(shape) + self.plot_all() self.selected = [] self.build_ui()