File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -899,9 +899,9 @@ class FBXTreeParser {
899899 const modelNode = modelNodes [ model . ID ] ;
900900 scope . setLookAtProperties ( model , modelNode ) ;
901901
902- const parentConnections = connections . get ( model . ID ) . parents ;
902+ const parentConnections = connections . get ( model . ID ) ? .parents ;
903903
904- parentConnections . forEach ( function ( connection ) {
904+ parentConnections ? .forEach ( function ( connection ) {
905905
906906 const parent = modelMap . get ( connection . ID ) ;
907907 if ( parent !== undefined ) parent . add ( model ) ;
@@ -1016,7 +1016,7 @@ class FBXTreeParser {
10161016
10171017 let bone = null ;
10181018
1019- relationships . parents . forEach ( function ( parent ) {
1019+ relationships ? .parents . forEach ( function ( parent ) {
10201020
10211021 for ( const ID in skeletons ) {
10221022
You can’t perform that action at this time.
0 commit comments