mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2025-06-11 18:03:18 +02:00
fix onProgress handling in slice function
This commit is contained in:
@ -52,7 +52,9 @@ export default class {
|
||||
break;
|
||||
}
|
||||
case 'PROGRESS': {
|
||||
onProgress(data);
|
||||
if (typeof onProgress !== 'undefined') {
|
||||
onProgress(data);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user