Преглед изворни кода

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;