Explorar o código

FbxLoader base64 image parsing error fix update

Lewy Blue %!s(int64=8) %!d(string=hai) anos
pai
achega
027b3b0d9c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 );