mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 19:43:48 +01:00
replace var with const
This commit is contained in:
parent
09bd688b88
commit
fb691f175c
@ -25,8 +25,7 @@ export default function generateInnerLines(slices, settings) {
|
||||
if (!part.shape.closed) continue;
|
||||
|
||||
// var outerLine = part.shape.clone().scaleUp(scale).offset(-nozzleRadius);
|
||||
var outerLine = part.shape.scaleUp(scale).offset(-nozzleRadius, offsetOptions);
|
||||
|
||||
const outerLine = part.shape.scaleUp(scale).offset(-nozzleRadius, offsetOptions);
|
||||
|
||||
if (outerLine.paths.length > 0) {
|
||||
part.outerLine.join(outerLine);
|
||||
|
Loading…
Reference in New Issue
Block a user