kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #32758
Tool-assisted selection disambiguation
There’s a bug report[1] which complains that every time you attempt to drag a track corner it asks you which track (when of course they share the same corner).
The SELECTION_TOOL shouldn’t know about this kind of stuff, though, so I propose to add a client filter to SELECTION_TOOL::RequestSelection().
Something along the lines of:
SELECTION_TOOL::RequestSelection( int aFlags,
std::function<void(GENERAL_COLLECTOR&)> aClientFilter )
Comments?
Thanks,
Jeff.
[1] https://bugs.launchpad.net/kicad/+bug/1503679 <https://bugs.launchpad.net/kicad/+bug/1503679>
[2] The SanitizeSelection() routines might also be candidates for moving to this architecture.
Follow ups