Skip to content

Commit

Permalink
Keep selection after rounding
Browse files Browse the repository at this point in the history
De-sync problem appears to have disappeared
  • Loading branch information
mitxela committed Dec 4, 2024
1 parent c706d5d commit 50374f8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions round_tracks_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@ def run( self, event ):
for i in range(classes[classname]['passes']):
self.addIntermediateTracks(scaling = classes[classname]['scaling'], netclass = classname, native = False, onlySelection = anySelected, avoid_junctions = avoid, msg=f", pass {i+1}")

# Track selection apparently de-syncs if we've modified it
if anySelected:
for t in self.board.GetTracks():
t.ClearSelected()

# if m_AutoRefillZones is set, we should skip here, but PCBNEW_SETTINGS is not exposed to swig
# ZONE_FILLER has SetProgressReporter, but PROGRESS_REPORTER is also not available, so we can't use it
# even zone.SetNeedRefill(False) doesn't prevent it running twice
Expand Down

0 comments on commit 50374f8

Please sign in to comment.