viral-viewer-2 5.2.2 → 5.2.4

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.
@@ -34064,12 +34064,12 @@ which can be placed in CurveUtils.
34064
34064
  dummyGeometry.setAttribute("position", new BufferAttribute(buffer, 3));
34065
34065
  let geometry = new BufferGeometry();
34066
34066
  geometry = mergeVertices(dummyGeometry);
34067
- // geometry.computeVertexNormals();
34067
+ geometry.computeVertexNormals();
34068
34068
  const mesh = new Mesh(geometry, []);
34069
34069
  mesh.userData.MaterialId = element.MaterialIndex;
34070
34070
  mesh.userData.Type = 0; //solid
34071
- // mesh.receiveShadow = true;
34072
- // mesh.castShadow = true;
34071
+ mesh.receiveShadow = true;
34072
+ mesh.castShadow = true;
34073
34073
  result.push(mesh);
34074
34074
  }
34075
34075
  return result;