+ fix indentation and strip trailing spaces
+ fix small bug with trimming of circles in the Sketcher git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5014 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
parent
3764181284
commit
f9646b3956
|
@ -661,8 +661,8 @@ int SketchObject::trim(int GeoId, const Base::Vector3d& point)
|
||||||
std::vector< Part::Geometry * > newVals(geomlist);
|
std::vector< Part::Geometry * > newVals(geomlist);
|
||||||
newVals[GeoId] = geoNew;
|
newVals[GeoId] = geoNew;
|
||||||
Geometry.setValues(newVals);
|
Geometry.setValues(newVals);
|
||||||
|
|
||||||
delete geoNew;
|
delete geoNew;
|
||||||
|
rebuildVertexIndex();
|
||||||
|
|
||||||
// go through all constraints and replace the point (GeoId,end) with (newGeoId,end)
|
// go through all constraints and replace the point (GeoId,end) with (newGeoId,end)
|
||||||
/*const std::vector<Constraint *> &constraints = this->Constraints.getValues();
|
/*const std::vector<Constraint *> &constraints = this->Constraints.getValues();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user