Browse Source

update editor to allow upload stl files.

OpenShift guest 12 năm trước cách đây
mục cha
commit
c997d208a2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;