viral-viewer-2 4.1.7 → 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.
@@ -34042,7 +34042,7 @@ which can be placed in CurveUtils.
34042
34042
  return buffer;
34043
34043
  }
34044
34044
  function progressGeometries(json) {
34045
- result = [];
34045
+ let result = [];
34046
34046
  for (let index = 0; index < json.Solids.length; index++) {
34047
34047
  const element = json.Solids[index];
34048
34048
  let buffer = addMesh(element.Indices, element.Vertices);
@@ -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 = array[index];
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 = array[index];
34099
+ const element = meshes[index];
34100
34100
  mesh.add(element);
34101
34101
  }
34102
34102
  let jsonData = mesh.toJSON();