mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2025-06-11 18:03:18 +02:00
wrap progress in object
So data could be extended in the future
This commit is contained in:
@ -6,7 +6,7 @@ const loader = new THREE.JSONLoader();
|
||||
const onProgress = progress => {
|
||||
self.postMessage({
|
||||
message: 'PROGRESS',
|
||||
data: progress
|
||||
data: { progress }
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user