|
@@ -3129,7 +3129,7 @@ THREE.GLTFLoader = ( function () {
|
|
|
|
|
|
var nodeDef = json.nodes[ nodeIndex ];
|
|
var nodeDef = json.nodes[ nodeIndex ];
|
|
|
|
|
|
- return function( ) {
|
|
|
|
|
|
+ return ( function() {
|
|
|
|
|
|
// .isBone isn't in glTF spec. See .markDefs
|
|
// .isBone isn't in glTF spec. See .markDefs
|
|
if ( nodeDef.isBone === true ) {
|
|
if ( nodeDef.isBone === true ) {
|
|
@@ -3185,7 +3185,7 @@ THREE.GLTFLoader = ( function () {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
- }( ).then( function ( node ) {
|
|
|
|
|
|
+ }() ).then( function ( node ) {
|
|
|
|
|
|
if ( nodeDef.name !== undefined ) {
|
|
if ( nodeDef.name !== undefined ) {
|
|
|
|
|