未验证 提交 cecacf0a 编写于 作者: H Hassadee Pimsuwan 提交者: GitHub

Change saveString() to saveArrayBuffer()

Change saveString() to saveArrayBuffer() for STL binary exporter.
上级 b63ec3e8
......@@ -288,7 +288,7 @@ Menubar.File = function ( editor ) {
var exporter = new THREE.STLExporter();
saveString( exporter.parse( editor.scene, { binary: true } ), 'model-binary.stl' );
saveArrayBuffer( exporter.parse( editor.scene, { binary: true } ), 'model-binary.stl' );
} );
options.add( option );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册