FreeCAD: master 074d5d7f

Author Committer Branch Timestamp Parent
abdullah wmayer master 2015-06-17 13:57:02 master 8b4492eb
Affected Issues  0002161: 0.16.5111 External Geometry Bug
Changeset Sketcher: Bug fix External geometry not appearing upon insertion

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

A last moment change to regulate redrawing introduced this issue (reducing the redrawing to the cases where the solver geometry and the sketchObject geometry are equal).
This change also solved other issues.

The case of adding external geometry is special because the DoF is the same after insertion, yet there is an insertion (as opposed to the toggle case, where there is a change but no insertion).

SketchObject has been adapted to require a solver update before moving (which also caused a non-yet-reported crash, a separate bug), and CommandCreateGeo has been adapted to trigger a solve with
auto update mode disabled. This solve is a very low cost one as the geometry is already in place.
mod - src/Mod/Sketcher/App/SketchObject.cpp Diff File
mod - src/Mod/Sketcher/Gui/CommandCreateGeo.cpp Diff File