|
@@ -271,7 +271,7 @@ function MenubarFile( editor ) {
|
|
|
|
|
|
var exporter = new GLTFExporter();
|
|
|
|
|
|
- exporter.parse( editor.scene, function ( result ) {
|
|
|
+ exporter.parse( scene, function ( result ) {
|
|
|
|
|
|
saveString( JSON.stringify( result, null, 2 ), 'scene.gltf' );
|
|
|
|