mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-04 21:21:54 +02:00
The print scheduler had two code paths for queue items: model-based (target_model set) and printer-specific (printer_id set). Only the model-based path computed ams_mapping before starting the print. VP queue items assigned to a specific printer went through the printer-specific path with null ams_mapping, causing the printer to default to the first AMS slot regardless of what the 3MF required. Add _compute_ams_mapping_for_printer() call to the printer-specific path, matching the existing model-based behavior.