浏览代码

FbxLoader base64 image parsing error fix update

Lewy Blue 8 年之前
父节点
当前提交
027b3b0d9c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 );