mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 11:33:49 +01:00
fix code
This commit is contained in:
parent
5a46e138af
commit
d9fca74653
@ -71,7 +71,7 @@ export default class {
|
||||
const {
|
||||
layerHeight,
|
||||
travelSpeed
|
||||
} = this.settings;
|
||||
} = this.settings.config;
|
||||
|
||||
const z = (layer + 1) * layerHeight;
|
||||
const speed = travelSpeed * 60;
|
||||
@ -97,7 +97,7 @@ export default class {
|
||||
nozzleDiameter,
|
||||
filamentThickness,
|
||||
travelSpeed
|
||||
} = this.settings;
|
||||
} = this.settings.config;
|
||||
|
||||
const profile = this.settings.config[(this.bottom ? 'bottom' : type)];
|
||||
|
||||
@ -158,7 +158,7 @@ export default class {
|
||||
retractionEnabled,
|
||||
retractionMinDistance,
|
||||
retractionSpeed
|
||||
} = this.settings;
|
||||
} = this.settings.config;
|
||||
|
||||
if (!this.isRetracted && retractionEnabled) {
|
||||
this.isRetracted = true;
|
||||
|
Loading…
Reference in New Issue
Block a user