@damienmortini/three 0.1.154 → 0.1.158
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.
|
@@ -385,6 +385,18 @@ class GLTFLoader extends Loader {
|
|
|
385
385
|
|
|
386
386
|
}
|
|
387
387
|
|
|
388
|
+
parseAsync( data, path ) {
|
|
389
|
+
|
|
390
|
+
const scope = this;
|
|
391
|
+
|
|
392
|
+
return new Promise( function ( resolve, reject ) {
|
|
393
|
+
|
|
394
|
+
scope.parse( data, path, resolve, reject );
|
|
395
|
+
|
|
396
|
+
} );
|
|
397
|
+
|
|
398
|
+
}
|
|
399
|
+
|
|
388
400
|
}
|
|
389
401
|
|
|
390
402
|
/* GLTFREGISTRY */
|
|
@@ -3643,10 +3655,9 @@ class GLTFParser {
|
|
|
3643
3655
|
|
|
3644
3656
|
if ( PATH_PROPERTIES[ target.path ] === PATH_PROPERTIES.weights ) {
|
|
3645
3657
|
|
|
3646
|
-
// Node may be a Group (glTF mesh with several primitives) or a Mesh.
|
|
3647
3658
|
node.traverse( function ( object ) {
|
|
3648
3659
|
|
|
3649
|
-
if ( object.
|
|
3660
|
+
if ( object.morphTargetInfluences ) {
|
|
3650
3661
|
|
|
3651
3662
|
targetNames.push( object.name ? object.name : object.uuid );
|
|
3652
3663
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@damienmortini/three",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.158",
|
|
4
4
|
"description": "Three.js helpers",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"install": "npm run copyexamples",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"bugs": "https://github.com/damienmortini/lib/issues",
|
|
26
26
|
"homepage": "https://github.com/damienmortini/lib/tree/main/packages/three",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@damienmortini/core": "^0.2.
|
|
28
|
+
"@damienmortini/core": "^0.2.125",
|
|
29
29
|
"fs-extra": "^10.0.0",
|
|
30
|
-
"three": "0.
|
|
30
|
+
"three": "0.135.0"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "462c3882ee68e145aca44e96056950073ff139db"
|
|
33
33
|
}
|