mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-07 03:21:34 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user