Browse Source

Merge pull request #12246 from TristanVALCKE/FBXLoader

FBXLoader: fix string utf8 encoding in BinaryReader
Mr.doob 7 năm trước cách đây
mục cha
commit
6d1dafb923
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      examples/js/loaders/FBXLoader.js

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

@@ -4977,6 +4977,9 @@
 
 			}
 
+			// Manage UTF8 encoding
+			s = decodeURIComponent( escape( s ) );
+
 			this.skip( size );
 
 			return s;