mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 11:33:49 +01:00
camel casing
This commit is contained in:
parent
e4880106f1
commit
d7a525f75b
@ -25,10 +25,10 @@ export default class {
|
|||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
sliceSync(settings, onprogress) {
|
sliceSync(settings, onProgress) {
|
||||||
return slice(this.geometry, settings, onprogress);
|
return slice(this.geometry, settings, onProgress);
|
||||||
}
|
}
|
||||||
slice(settings, onprogress) {
|
slice(settings, onProgress) {
|
||||||
if (!this.geometry) {
|
if (!this.geometry) {
|
||||||
throw new Error('Geometry is not set, use Slicer.setGeometry or Slicer.setMesh first');
|
throw new Error('Geometry is not set, use Slicer.setGeometry or Slicer.setMesh first');
|
||||||
}
|
}
|
||||||
@ -48,7 +48,7 @@ export default class {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'PROGRESS': {
|
case 'PROGRESS': {
|
||||||
onprogress(data);
|
onProgress(data);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user