Mail Archives: geda-user/2016/07/24/22:07:49
On Mon, 25 Jul 2016, Brane2 (brane2 AT s5tehnika DOT net) [via geda-user AT delorie DOT com] wrote:
> OK. I applied it to official pcb-git and it sorts of works.
Thanks for testing this!
> I don't need separate first click for polygone selection now, but polygon
> selection doesn't work now as advertised.
> I can draw a hole now in a polygon even if my first clicks misses all
> polygones. Hole will stick to the polygon that I happen to nab first when
> clicking on further hole vertexes.
> Also, If i start drawing hole over several polygons that partially cover, like
> top and bottom layer, for some reason hole will stick to polygon on top layer,
> even if I happen to be on the bottom layer at that time.
I first thought starting the hole out of polys was also a feature, but
now I realize it's not. The code selects the closest polygon and assumes
the hole is on that.
Changed this in r2309: the first click must be on a poly.
There still may be some tricky cases with overlapping polygons on the same
layer, in which case the code still picks one of the polygons and draws
the hole on that - the hole may then be invisible as the other polygon is
drawn over it. However, this is not new, unpatched mainline would do the
same.
Regards,
Igor2
- Raw text -