Sketcher: include coincident constraints in the sketch diagnosis
This commit is contained in:
parent
b7965052a3
commit
7cbb16f2e8
|
@ -743,10 +743,7 @@ int Sketch::addPointCoincidentConstraint(int geoId1, PointPos pos1, int geoId2,
|
||||||
GCS::Point &p1 = Points[pointId1];
|
GCS::Point &p1 = Points[pointId1];
|
||||||
GCS::Point &p2 = Points[pointId2];
|
GCS::Point &p2 = Points[pointId2];
|
||||||
int tag = ++ConstraintsCounter;
|
int tag = ++ConstraintsCounter;
|
||||||
// trick: we do not tag coincidence constraints in order to exclude
|
GCSsys.addConstraintP2PCoincident(p1, p2, tag);
|
||||||
// them from the diagnosing of conflicts
|
|
||||||
//GCSsys.addConstraintP2PCoincident(p1, p2, tag);
|
|
||||||
GCSsys.addConstraintP2PCoincident(p1, p2);
|
|
||||||
return ConstraintsCounter;
|
return ConstraintsCounter;
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user