mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 11:33:49 +01:00
fix onProgress handling in slice function
This commit is contained in:
parent
a79308dc8f
commit
0564f3e7bc
@ -52,7 +52,9 @@ export default class {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'PROGRESS': {
|
case 'PROGRESS': {
|
||||||
onProgress(data);
|
if (typeof onProgress !== 'undefined') {
|
||||||
|
onProgress(data);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user