FreeCAD: master 2ebed71e

Author Committer Branch Timestamp Parent
abdullah abdullahtahiriyo master 2020-12-20 10:42:45 master efa6346e
Affected Issues  0004514: Sketcher crash upon mirroring box selected bspline
Changeset Sketcher: fix crash on mirroring geometry defined by internal alignment geometry

================================================================================

Internal Alignment constraint mirroring was never implemented. With the enhancements
brought with implementation of geometry extensions in the sketcher, this lack of
implementation became a crash, as geometry was marked as being internal alignment, while
no associated internal alignment constraint was created.

Restrictions:
- Internal alignment geometry is only to be mirrored if the geometry it defines is also
being mirrored. Internal alignment geometry is otherwise skipped. This is because it
does not make sense to have a pole without a b-spline, or a major axis of a ellipse without
an ellipse.

fixes 0004514
mod - src/Mod/Sketcher/App/SketchObject.cpp Diff File