@needle-tools/three 0.162.9 → 0.162.10

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.
@@ -2318,6 +2318,8 @@ class GeometryParser {
2318
2318
  // Parse Vertex Colors from FBXTree.Objects.Geometry.LayerElementColor if it exists
2319
2319
  parseVertexColors( ColorNode ) {
2320
2320
 
2321
+ if ( !ColorNode.Colors ) return undefined;
2322
+
2321
2323
  const mappingType = ColorNode.MappingInformationType;
2322
2324
  const referenceType = ColorNode.ReferenceInformationType;
2323
2325
  const buffer = ColorNode.Colors.a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@needle-tools/three",
3
- "version": "0.162.9",
3
+ "version": "0.162.10",
4
4
  "description": "JavaScript 3D library",
5
5
  "type": "module",
6
6
  "main": "./build/three.cjs",