- Anonymous
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
abdullah | abdullahtahiriyo | master | 2020-06-30 11:42:33 | master ee21985e |
Changeset | Sketcher: Check invalid constraint indices in unmanaged operations ================================================================== It is possible to bypass SketchObject in modifying geometry and constraints. Like in here: https://forum.freecadweb.org/viewtopic.php?f=3&t=41326&start=20#p408409 This leads to unexpected behaviour and even crashes. With this commit the new mechanism of constraint indices check is leveraged in cases not involving SketchObject operations (aka managed operations). Direct assignment of properties from Python (sketcher unmanaged operations), undergo this extra indices check. When indices in constraints are outside the geometry range, the constraints are shown as empty and the error is shown in the report window. |
|||
mod - src/Mod/Sketcher/App/SketchObject.cpp | Diff File | |||
mod - src/Mod/Sketcher/App/SketchObject.h | Diff File |