viral-viewer-2 2.7.2 → 2.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -75532,7 +75532,8 @@ function workerFunction() {
|
|
|
75532
75532
|
const dummyGeometry = new BufferGeometry();
|
|
75533
75533
|
dummyGeometry.setAttribute("position", new BufferAttribute(buffer, 3));
|
|
75534
75534
|
let jsonData = dummyGeometry.toJSON();
|
|
75535
|
-
|
|
75535
|
+
let string = JSON.stringify(dummyGeometry);
|
|
75536
|
+
callback({ buffer: buffer, data: jsonData, string: string });
|
|
75536
75537
|
});
|
|
75537
75538
|
}
|
|
75538
75539
|
self.addEventListener("message", (event) => {
|