Files
OrcaSlicer/tests/libslic3r
Kris Austin 1f32f5a99f Fill every filament slot when a project has fewer filaments than tools (#17330)
Opening a project with fewer filaments than the printer has tools tops
up filament_presets and the flush matrix, but leaves filament_colour
and the other per-filament arrays at the project's count. Slicing then
fails the flush matrix check, and an overwriting filament sync reads
past the end of those arrays.

load_current_presets() used to fill the arrays on every load. Since
#15385 it compares against filament_presets, which the top-up has
already raised, so it no longer runs. Grow the arrays where the project
is loaded.

(cherry picked from commit b5c4ccd9c5)
2026-11-07 02:14:51 +08:00
..
2026-10-11 22:36:16 -03:00
2025-12-08 22:42:11 +08:00