From 961e1007f25a1365b913fc4b02fe0199534f0d5d Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Wed, 8 Nov 2023 14:59:55 +0100 Subject: [PATCH] Fix prime tower when only raft has multi-material CURA-11291 --- src/PrimeTower.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PrimeTower.cpp b/src/PrimeTower.cpp index 3883822adc..f8fac03b10 100644 --- a/src/PrimeTower.cpp +++ b/src/PrimeTower.cpp @@ -103,7 +103,7 @@ void PrimeTower::generateGroundpoly() void PrimeTower::generatePaths(const SliceDataStorage& storage) { would_have_actual_tower - = storage.max_print_height_second_to_last_extruder >= 0; // Maybe it turns out that we don't need a prime tower after all because there are no layer switches. + = storage.max_print_height_second_to_last_extruder >= -Raft::getTotalExtraLayers() + 1; // Maybe it turns out that we don't need a prime tower after all because there are no layer switches. if (would_have_actual_tower && enabled) { generatePaths_denseInfill();