On 4/3/2018 9:29 AM, Tomasz Wlostowski wrote: > On 03/04/18 15:13, Jeff Young wrote: >> The clean-up algorithms depend on tracks & vias assigned to the same net to >> be grouped in the segment list. Is that supposed to be guaranteed? > > It is/used to be like this (there was/is a special sorting function, > called at least in the TRACK_CLEANER). I would however rewrite the > overlapping segment merging algorithm to not rely on the order of > segments in the data structure. If nobody opposes I could give this a try. > > Tom
How much risk are we looking at? Wouldn't it be more prudent to just ensure the sorting is performed before performing the track clean operation? I would rather avoid creating any new issues this close to v5. If we cannot avoid making the change, then we may just have to deal with it but I would rather that be the last option. > > >> >> (I have a file where it is not the case.) I thought the sorting was always performed so that segments and vias would always be grouped by their net. I'm not sure how a board file was created with an ungrouped segment. @JP, care to comment on this? >> _______________________________________________ >> Mailing list: https://launchpad.net/~kicad-developers >> Post to : kicad-developers@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~kicad-developers >> More help : https://help.launchpad.net/ListHelp >> > > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp