mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 11:33:49 +01:00
remove unnecessary new key word
This commit is contained in:
parent
fdbb1469ee
commit
44197dd5e4
@ -16,7 +16,7 @@ self.addEventListener('message', (event) => {
|
|||||||
case 'SLICE': {
|
case 'SLICE': {
|
||||||
const { geometry: JSONGeometry, settings } = data;
|
const { geometry: JSONGeometry, settings } = data;
|
||||||
|
|
||||||
const { geometry } = new loader.parse(JSONGeometry.data);
|
const { geometry } = loader.parse(JSONGeometry.data);
|
||||||
|
|
||||||
const gcode = slice(geometry, settings, onProgress);
|
const gcode = slice(geometry, settings, onProgress);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user