viral-viewer-2 4.9.2 → 4.9.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.
@@ -34087,7 +34087,7 @@ which can be placed in CurveUtils.
34087
34087
  let mergedGeometry = new BufferGeometry();
34088
34088
  let geometries = solids.map((x) => x.geometry);
34089
34089
  mergedGeometry = mergeGeometries(geometries, true);
34090
- // mergedGeometry.computeVertexNormals();
34090
+ mergedGeometry.computeVertexNormals();
34091
34091
  const instancedMesh = new InstancedMesh(mergedGeometry, [], data.Instances.length);
34092
34092
  instancedMesh.userData.Instances = [];
34093
34093
  instancedMesh.userData.MaterialIds = [];
@@ -34142,7 +34142,7 @@ which can be placed in CurveUtils.
34142
34142
  let mergedGeometry = new BufferGeometry();
34143
34143
  let geometries = solids.map((x) => x.geometry);
34144
34144
  mergedGeometry = mergeGeometries(geometries, true);
34145
- // mergedGeometry.computeVertexNormals();
34145
+ mergedGeometry.computeVertexNormals();
34146
34146
  //recreate element by combine solids
34147
34147
  const mesh = new Mesh(mergedGeometry);
34148
34148
  // mesh.receiveShadow = true;