mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-26 10:21:00 +00:00
Port mixed filament engine fixes from BambuStudio
This commit is contained in:
@@ -2760,6 +2760,9 @@ static void load_mixed_filament_settings(DynamicPrintConfig &project_config, con
|
||||
vals = std::move(curves);
|
||||
}
|
||||
vals.resize(n_filaments, std::string{});
|
||||
// Heal legacy corruption: clear any non-empty slot that ended up with < 2 points
|
||||
// (e.g. a curve split across slots by the old "|" delimiter). Falls back to linear.
|
||||
Slic3r::sanitize_mixed_gradient_curve_array(vals);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user