Files
create/src/Mod
Abdullah Tahiri 64774bc1fe Sketcher: Fix crash on constraint rename
========================================

Report:
https://github.com/FreeCAD/FreeCAD/pull/4183
https://github.com/realthunder/FreeCAD_assembly3/issues/387

Problem:
renameConstraint() previously implemented exclusively in SketchObjectPyImp.cpp,
will change the Constraints property without updating the solver. A prospective
drag operation would rely on a deleted pointer constraint which leads to the
crash.

Solution:
- mark the solver status as needing an update
- leverage new through sketchobject r/w interface to ensure solver is synchronised
before the temporary move operation starts

Bonus:
move the core of the function to SketchObject.cpp so that input data validity
check on constraint change is inhibited.
2020-12-27 08:24:43 +01:00
..
2020-12-23 15:13:05 +01:00
2020-12-23 14:32:38 -05:00
2020-11-10 14:58:06 +01:00
2020-12-23 14:32:38 -05:00
2020-12-23 15:13:05 +01:00
2020-12-23 15:13:05 +01:00
2020-11-18 08:15:50 +01:00
2020-12-23 15:13:05 +01:00
2020-12-23 15:13:05 +01:00
2020-12-23 15:13:05 +01:00
2020-12-23 15:13:05 +01:00
2020-12-23 15:13:05 +01:00
2020-12-23 15:13:05 +01:00
2020-12-23 15:13:05 +01:00
2020-12-23 15:13:05 +01:00
2020-10-28 17:12:21 +01:00
2020-12-23 15:13:05 +01:00
2020-12-23 15:13:05 +01:00
2020-12-23 15:13:05 +01:00
2020-12-23 15:13:05 +01:00
2020-12-23 15:13:05 +01:00