mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-16 12:21:11 +00:00
The lane map fetched over Moonraker was applied to whichever printer preset happened to be edited when the response arrived, with no check that it was the machine polled. Not a race, as the whole chain runs on the GUI thread with the UI blocked, but a steady-state mismatch: two IMEX printers of different models with the same logical extruder count both pass every existing guard, and the map is written to the wrong preset and dirties it with no user action. The pairing is now evaluated when the callback runs, against the selected device, on the predicate update_sync_status() uses. Capturing an identity at connect time would instead ask whether the edited preset had changed since then, and would reject the user who selects a machine and only then switches to its matching preset. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>