viral-viewer-2 2.9.5 → 2.9.6
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.
|
@@ -34161,9 +34161,11 @@ function workerFunction() {
|
|
|
34161
34161
|
line.applyMatrix4(matrix4);
|
|
34162
34162
|
line.updateMatrix();
|
|
34163
34163
|
childMesh.add(line);
|
|
34164
|
-
childMesh.updateMatrix();
|
|
34165
34164
|
}
|
|
34166
34165
|
}
|
|
34166
|
+
childMesh.instanceMatrix.needsUpdate = true;
|
|
34167
|
+
childMesh.updateMatrix();
|
|
34168
|
+
childMesh.updateMatrixWorld(true);
|
|
34167
34169
|
let jsonData = childMesh.toJSON();
|
|
34168
34170
|
self.postMessage(jsonData);
|
|
34169
34171
|
}
|