FreeCAD: master 985f3510

Author Committer Branch Timestamp Parent
abdullah abdullahtahiriyo master 2020-12-18 16:50:49 master 70f85505
Changeset Sketcher: Fix crash when creating an angle constrain on a line segment

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

Most of these crashes come from previous code not checking for Constraint::GeoUndef.

Most of these crashes come from isBSpline(), any of the two overloads.

isBSpline is made to throw exception when null, which should prevent the crash while
creating a reportable error.
mod - src/Mod/Sketcher/Gui/CommandConstraints.cpp Diff File