Просмотр исходного кода

update editor to allow upload stl files.

OpenShift guest 12 лет назад
Родитель
Сommit
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;