diff --git a/src/FffGcodeWriter.cpp b/src/FffGcodeWriter.cpp index ae7c7c2b07..684599df9a 100644 --- a/src/FffGcodeWriter.cpp +++ b/src/FffGcodeWriter.cpp @@ -3483,7 +3483,7 @@ bool FffGcodeWriter::processSupportInfill(const SliceDataStorage& storage, Layer ZSeamConfig z_seam_config = ZSeamConfig(EZSeamType::SHORTEST, gcode_layer.getLastPlannedPositionOrStartingPosition(), EZSeamCornerPrefType::Z_SEAM_CORNER_PREF_NONE, false); Shape disallowed_area_for_seams{}; - if (infill_extruder.settings_.get("support_z_seam_away_from_model") && gcode_layer.getLayerNr() >= 0) + if (infill_extruder.settings_.get("support_z_seam_away_from_model") && (gcode_layer.getLayerNr() >= 0)) { for (std::shared_ptr mesh_ptr : storage.meshes) {