Fix issue that the support contact layer is printed in wrong filament (#7924)

Fix issue that the contact layer is printed in wrong filament when interface layer number is set to 0

Cherry-picked from prusa3d/PrusaSlicer@ca5f6da08d

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
This commit is contained in:
Noisyfox
2025-01-22 09:57:05 +08:00
committed by GitHub
parent 105a8444e9
commit 10b9928506

View File

@@ -4706,7 +4706,7 @@ void PrintObjectSupportMaterial::generate_toolpaths(
// Filler and its parameters
filler_interface.get(), fill_params,
// Extrusion parameters
erSupportMaterialInterface, interface_flow);
interface_as_base ? erSupportMaterial : erSupportMaterialInterface, interface_flow);
}
// Base interface layers under soluble interfaces