This commit is contained in:
casperlamboo 2016-05-08 10:26:47 +02:00 committed by Simon Voordouw
parent bea2a953a1
commit be1d1bbac3

View File

@ -71,7 +71,7 @@ export default class {
const { const {
layerHeight, layerHeight,
travelSpeed travelSpeed
} = this.settings; } = this.settings.config;
const z = (layer + 1) * layerHeight; const z = (layer + 1) * layerHeight;
const speed = travelSpeed * 60; const speed = travelSpeed * 60;
@ -97,7 +97,7 @@ export default class {
nozzleDiameter, nozzleDiameter,
filamentThickness, filamentThickness,
travelSpeed travelSpeed
} = this.settings; } = this.settings.config;
const profile = this.settings.config[(this.bottom ? 'bottom' : type)]; const profile = this.settings.config[(this.bottom ? 'bottom' : type)];
@ -158,7 +158,7 @@ export default class {
retractionEnabled, retractionEnabled,
retractionMinDistance, retractionMinDistance,
retractionSpeed retractionSpeed
} = this.settings; } = this.settings.config;
if (!this.isRetracted && retractionEnabled) { if (!this.isRetracted && retractionEnabled) {
this.isRetracted = true; this.isRetracted = true;