Explorar el Código

Editor: Fix VTK import.

Mugen87 hace 5 años
padre
commit
0d1e83d25c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      editor/js/Loader.js

+ 1 - 1
editor/js/Loader.js

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