mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-04 12:22:01 +00:00
With use_printer_agents on, a sync started by hand from a printer of another agent than the preset's that reports no model, or one no profile knows with no switch or install planned, no longer runs best effort. A message asks the user to select the printer's preset and sync again (Go to Device Page / OK). The decision is sync_model_unfound() in DevSyncSwitch.h, with print_blocked()'s agent rule, so the sync and Print and Send agree. Through the preset's own agent, and for an agent-only or extruder-count-only difference, the best-effort question stays. The Print and Send status line now says what the modal offers: where a switch can be planned it names the printer's model and the preset's and says Send switches to its preset. The plan is kept until the printer or its inputs change.
OrcaSlicer tests
Building, running and writing tests is documented on the wiki, under How to Test.
Two files here rather than there, because coding agents only read what is in the repository: