Переглянути джерело

update editor to allow upload stl files.

OpenShift guest 12 роки тому
батько
коміт
c997d208a2
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      editor/index.html

+ 1 - 1
editor/index.html

@@ -455,7 +455,7 @@
 							signals.objectSelected.dispatch( mesh );
 
 						}, false );
-						reader.readAsText( file );
+						reader.readAsBinaryString(file);
 
 						break;