viral-viewer-2 4.1.8 → 4.1.9
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.
|
@@ -34062,7 +34062,7 @@ which can be placed in CurveUtils.
|
|
|
34062
34062
|
if (event.data.Instances && event.data.Instances.length > 0) {
|
|
34063
34063
|
const mesh = new InstancedMesh(new BufferGeometry(), new MeshBasicMaterial(), event.data.Instances.length);
|
|
34064
34064
|
for (let index = 0; index < meshes.length; index++) {
|
|
34065
|
-
const element =
|
|
34065
|
+
const element = meshes[index];
|
|
34066
34066
|
mesh.add(element);
|
|
34067
34067
|
}
|
|
34068
34068
|
mesh.castShadow = true;
|
|
@@ -34096,7 +34096,7 @@ which can be placed in CurveUtils.
|
|
|
34096
34096
|
else {
|
|
34097
34097
|
const mesh = new Mesh();
|
|
34098
34098
|
for (let index = 0; index < meshes.length; index++) {
|
|
34099
|
-
const element =
|
|
34099
|
+
const element = meshes[index];
|
|
34100
34100
|
mesh.add(element);
|
|
34101
34101
|
}
|
|
34102
34102
|
let jsonData = mesh.toJSON();
|