Browse Source

Merge pull request #12362 from looeee/FBXLoader_base64_image_check

FbxLoader base64 image parsing error fix update
Mr.doob 7 years ago
parent
commit
754975ff10
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/loaders/FBXLoader.js

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

@@ -262,7 +262,7 @@
 		if ( typeof content === 'string' ) {
 
 			// ASCII format sometimes adds an extra character to the end of the content string
-			if ( content.slice( - 1 ) !== '=' ) {
+			if ( content.slice( - 1 ) === ',' ) {
 
 				content = content.slice( 0, - 1 );