mirror of https://github.com/KLayout/klayout.git
Small bugfix on object snap - observe snap directions
Problem: snapping with angle constraints and object snapping sometimes gave results not conforming to the angle constaints. This happened when shape edges are parallel to the cutlines that define the angle constraint.
This commit is contained in:
parent
014f3d0644
commit
b5be4fc497
|
|
@ -554,7 +554,7 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
if (! any_point) {
|
||||
if (! any_point && ! m_projection_constraint) {
|
||||
|
||||
// no certain direction to look into:
|
||||
// compute the projection of the point and if within a
|
||||
|
|
|
|||
Loading…
Reference in New Issue