@gltf-transform/functions
Advanced tools
Comparing version 3.5.0 to 3.5.1
{ | ||
"name": "@gltf-transform/functions", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"repository": "github:donmccurdy/glTF-Transform", | ||
@@ -9,2 +9,3 @@ "homepage": "https://gltf-transform.dev/functions.html", | ||
"license": "MIT", | ||
"funding": "https://github.com/sponsors/donmccurdy", | ||
"type": "module", | ||
@@ -39,4 +40,4 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@gltf-transform/core": "^3.5.0", | ||
"@gltf-transform/extensions": "^3.5.0", | ||
"@gltf-transform/core": "^3.5.1", | ||
"@gltf-transform/extensions": "^3.5.1", | ||
"ktx-parse": "^0.6.0", | ||
@@ -57,3 +58,3 @@ "ndarray": "^1.0.19", | ||
}, | ||
"gitHead": "8fcc53cfd29649aa3174997fe17138b47897db4a" | ||
"gitHead": "2b74ae533f9aced2e044963794c3a28593645962" | ||
} |
@@ -32,3 +32,3 @@ import type { Node } from '@gltf-transform/core'; | ||
// Apply inherited transforms to local matrix. Skinned meshes are not affected | ||
// by the node parent's trasnform, and can be ignored. Updates to IBMs and TRS | ||
// by the node parent's transform, and can be ignored. Updates to IBMs and TRS | ||
// animations are out of scope in this context. | ||
@@ -35,0 +35,0 @@ node.setMatrix(node.getWorldMatrix()); |
@@ -132,3 +132,7 @@ import { | ||
await doc.transform(prune({ propertyTypes: [PropertyType.ACCESSOR, PropertyType.NODE] })); | ||
if (options.tolerance > 0) { | ||
// If tolerance is greater than 0, welding may remove a mesh, so we prune | ||
await doc.transform(prune({ propertyTypes: [PropertyType.ACCESSOR, PropertyType.NODE] })); | ||
} | ||
await doc.transform(dedup({ propertyTypes: [PropertyType.ACCESSOR] })); | ||
@@ -135,0 +139,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1352173
7381