Browse Source

Editor: Fixed ply support. See #9999.

Mr.doob 8 năm trước cách đây
mục cha
commit
aec9701599
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      editor/js/Loader.js

+ 1 - 1
editor/js/Loader.js

@@ -322,7 +322,7 @@ var Loader = function ( editor ) {
 					editor.execute( new AddObjectCommand( mesh ) );
 
 				}, false );
-				reader.readAsText( file );
+				reader.readAsArrayBuffer( file );
 
 				break;