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