mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-02 17:58:22 -05:00
When a saved Moonraker printer connected, the agent used the model of the selected printer preset. Selecting saved printer A while printer B's preset was selected gave A the model of B, filament sync saved that model to A's entry, and a later sync with A's own preset warned about a model mismatch. The agent now uses the saved entry's model when the entry belongs to the same agent, matched to a vendor model by model id or name. Connections with no saved entry still use the selected preset. The new init_device_model() has AppConfig and PresetBundle parameters, so the regression test runs without a GUI app.
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: