- Anonymous
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
abdullah | abdullahtahiriyo | master | 2021-01-04 14:16:53 | master b91bba28 |
Changeset | Sketcher: deleteGeometries split ================================ New deleteGeometries function, according to the comment should the same as deleteGeometry but at a time. However, this is not accurate, as deleteGeometry deletes any internal geometry associated to the provided GeoIds, whereas deleteGeometries does not delete that internal geometry. Solution: Split deleteGeometries into two different functions: 1) delGeometriesExclusiveList 2) delGeometry The former will not delete associated internal geometry. It is more efficient, but it is the resposibility of the caller not to leave internal geometry undeleted. The latter, implemented in terms of the former, will delete associated internal geometry too. As a bonus, the latter will also remove any GeoId duplicates. |
|||
mod - src/Mod/Sketcher/App/SketchObject.cpp | Diff File | |||
mod - src/Mod/Sketcher/App/SketchObject.h | Diff File |