Skip to content

Commit 8cd8d63

Browse files
committed
fix: adhesion_extruder was marked as used even if adhesion_type == none
1 parent 1202f61 commit 8cd8d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sliceDataStorage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ std::vector<bool> SliceDataStorage::getExtrudersUsed(int layer_nr) const
455455
// i.e. layers < 0 are for raft, layer 0 is for brim/skirt
456456
include_adhesion = false;
457457
}
458-
if (include_adhesion)
458+
if (include_adhesion && getSettingAsPlatformAdhesion("adhesion_type") != EPlatformAdhesion::NONE)
459459
{
460460
ret[getSettingAsIndex("adhesion_extruder_nr")] = true;
461461
{ // process brim/skirt

0 commit comments

Comments
 (0)