[Sketcher] Fix a check during tangent autoconstraint
This commit is contained in:
committed by
Yorik van Havre
parent
34030c9ece
commit
84cb77f0d7
@@ -857,8 +857,9 @@ protected:
|
||||
(*resultcoincident)->Type = Sketcher::Tangent;
|
||||
}
|
||||
else if (resultpointonobject != AutoConstraints.end()
|
||||
&& ((*resultcoincident)->FirstPos == Sketcher::PointPos::start
|
||||
|| (*resultcoincident)->FirstPos == Sketcher::PointPos::end)) {
|
||||
&& ((*resultpointonobject)->FirstPos == Sketcher::PointPos::start
|
||||
|| (*resultpointonobject)->FirstPos
|
||||
== Sketcher::PointPos::end)) {
|
||||
// endpoint-to-edge tangency
|
||||
(*resultpointonobject)->Type = Sketcher::Tangent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user