viral-viewer-2 4.0.6 → 4.0.7

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,6 +34087,7 @@ which can be placed in CurveUtils.
34087
34087
  let matrix4 = new Matrix4();
34088
34088
  matrix4.fromArray(numbers);
34089
34089
  childMesh.setMatrixAt(index, matrix4);
34090
+ childMesh.setColorAt(index, new Color());
34090
34091
  //if number of polygon smaller than expect, generate edges
34091
34092
  if (geometry.attributes.position.count <= maxPolygonForEdge) {
34092
34093
  const edges = new EdgesGeometry(geometry, 90);