Browse Source

Update FBXLoader.js

Hi,
Corrected "fileName" to "Filename" in FBXTree.Objects.subNodes.Video.properties
agackakan 7 years ago
parent
commit
6f3b5ab979
1 changed files with 3 additions and 3 deletions
  1. 3 3
      examples/js/loaders/FBXLoader.js

+ 3 - 3
examples/js/loaders/FBXLoader.js

@@ -184,13 +184,13 @@
 
 
 				// check whether the file name is used by another videoNode
 				// check whether the file name is used by another videoNode
 				// and if so keep a record of both ids as a duplicate pair [ id1, id2 ]
 				// and if so keep a record of both ids as a duplicate pair [ id1, id2 ]
-				if ( videoNode.properties.fileName in names ) {
+				if ( videoNode.properties.Filename in names ) {
 
 
-					duplicates.push( [ id, names[ videoNode.properties.fileName ] ] );
+					duplicates.push( [ id, names[ videoNode.properties.Filename ] ] );
 
 
 				}
 				}
 
 
-				names[ videoNode.properties.fileName ] = id;
+				names[ videoNode.properties.Filename ] = id;
 
 
 				// raw image data is in videoNode.properties.Content
 				// raw image data is in videoNode.properties.Content
 				if ( 'Content' in videoNode.properties && videoNode.properties.Content !== '' ) {
 				if ( 'Content' in videoNode.properties && videoNode.properties.Content !== '' ) {