From 7906bfe43d6f391e3c08977fdc32906eec7c9e22 Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Wed, 24 Jan 2018 12:39:34 +0100 Subject: [PATCH] remove weird code --- src/sliceActions/slicesToGCode.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sliceActions/slicesToGCode.js b/src/sliceActions/slicesToGCode.js index 14070b1..209ce9b 100644 --- a/src/sliceActions/slicesToGCode.js +++ b/src/sliceActions/slicesToGCode.js @@ -62,11 +62,11 @@ export default function slicesToGCode(slices, settings) { const unRetract = isOuterShell; const profile = isOuterShell ? profiles.outerShell : profiles.innerShell; - pathToGCode(outline, combing && true, gcode, shell, false, unRetract, z, profile); + pathToGCode(outline, combing, gcode, shell, false, unRetract, z, profile); } - pathToGCode(outline, combing && true, gcode, part.outerFill, false, false, z, profiles.outerInfill); - pathToGCode(outline, combing && true, gcode, part.innerFill, true, false, z, profiles.innerInfill); + pathToGCode(outline, combing, gcode, part.outerFill, false, false, z, profiles.outerInfill); + pathToGCode(outline, combing, gcode, part.innerFill, true, false, z, profiles.innerInfill); } else { const retract = !(slice.parts.length === 1 && typeof slice.support === 'undefined'); pathToGCode(null, false, gcode, part.shape, retract, retract, z, profiles.outerShell);