This commit is contained in:
casperlamboo 2017-07-24 13:01:22 +02:00
parent c07a0b81c2
commit 8b475d8e4b

View File

@ -4,7 +4,7 @@ import SlicerWorker from './slicerWorker.js!worker';
export function sliceMesh(settings, mesh, sync = false, onProgress) {
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();