+ fix a bug in the trimming tool of the Sketcher

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5071 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
logari81
2011-10-26 20:27:30 +00:00
parent a2cd64d17e
commit 8fad3bab7a
2 changed files with 2 additions and 4 deletions

View File

@@ -708,6 +708,7 @@ int SketchObject::trim(int GeoId, const Base::Vector3d& point)
std::vector< Part::Geometry * > newVals(geomlist);
newVals[GeoId] = geoNew;
Geometry.setValues(newVals);
Constraints.acceptGeometry(Geometry.getValues());
delete geoNew;
rebuildVertexIndex();
@@ -756,8 +757,6 @@ int SketchObject::trim(int GeoId, const Base::Vector3d& point)
delete newConstr;
Constraints.acceptGeometry(Geometry.getValues());
return 0;
}