+ 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:
parent
a2cd64d17e
commit
8fad3bab7a
|
@ -235,9 +235,8 @@ void PropertyConstraintList::checkGeometry(const std::vector<Part::Geometry *> &
|
|||
}
|
||||
|
||||
if (invalidGeometry) {
|
||||
aboutToSetValue();
|
||||
invalidGeometry = false;
|
||||
hasSetValue();
|
||||
touch();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user