mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 21:47:59 +01:00
typo
This commit is contained in:
parent
c07a0b81c2
commit
8b475d8e4b
@ -4,7 +4,7 @@ import SlicerWorker from './slicerWorker.js!worker';
|
|||||||
|
|
||||||
export function sliceMesh(settings, mesh, sync = false, onProgress) {
|
export function sliceMesh(settings, mesh, sync = false, onProgress) {
|
||||||
if (typeof mesh === 'undefined' || !mesh.isMesh) {
|
if (typeof mesh === 'undefined' || !mesh.isMesh) {
|
||||||
throw new Error('Provide mesh is not intance of THREE.Mesh');
|
throw new Error('Provided mesh is not intance of THREE.Mesh');
|
||||||
}
|
}
|
||||||
|
|
||||||
mesh.updateMatrix();
|
mesh.updateMatrix();
|
||||||
|
Loading…
Reference in New Issue
Block a user