mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-05 19:27:57 -05:00
With remember_printer_config on, switching printers rebuilds the filament list from the new printer's saved selection but only refreshed the sidebar. The plates kept their filament maps sized for the old filament count, and Print::apply took them over the resized project maps, so the flush reorder read past the end of the filament list. Resize the plates' filament maps and print sequences on the switch, and cut filament maps longer than the filament count in Print::apply. Fixes #17562
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: