Selaa lähdekoodia

update editor to allow upload stl files.

OpenShift guest 12 vuotta sitten
vanhempi
commit
c997d208a2
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;