Skip to content

Commit

Permalink
Editor: Remove dependency to deleted ColladaExporter. (#26243)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 authored Jun 12, 2023
1 parent f71e2ee commit 61acd4c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
20 changes: 0 additions & 20 deletions editor/js/Menubar.File.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,26 +178,6 @@ function MenubarFile( editor ) {

options.add( new UIHorizontalRule() );

// Export DAE

option = new UIRow();
option.setClass( 'option' );
option.setTextContent( strings.getKey( 'menubar/file/export/dae' ) );
option.onClick( async function () {

const { ColladaExporter } = await import( 'three/addons/exporters/ColladaExporter.js' );

const exporter = new ColladaExporter();

exporter.parse( editor.scene, function ( result ) {

saveString( result.data, 'scene.dae' );

} );

} );
options.add( option );

// Export DRC

option = new UIRow();
Expand Down
3 changes: 0 additions & 3 deletions editor/js/Strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ function Strings( config ) {
'menubar/file/export/geometry': 'Export Geometry',
'menubar/file/export/object': 'Export Object',
'menubar/file/export/scene': 'Export Scene',
'menubar/file/export/dae': 'Export DAE',
'menubar/file/export/drc': 'Export DRC',
'menubar/file/export/glb': 'Export GLB',
'menubar/file/export/gltf': 'Export GLTF',
Expand Down Expand Up @@ -364,7 +363,6 @@ function Strings( config ) {
'menubar/file/export/geometry': 'Exporter Geometrie',
'menubar/file/export/object': 'Exporter Objet',
'menubar/file/export/scene': 'Exporter Scene',
'menubar/file/export/dae': 'Exporter DAE',
'menubar/file/export/drc': 'Exporter DRC',
'menubar/file/export/glb': 'Exporter GLB',
'menubar/file/export/gltf': 'Exporter GLTF',
Expand Down Expand Up @@ -716,7 +714,6 @@ function Strings( config ) {
'menubar/file/export/geometry': '导出几何体',
'menubar/file/export/object': '导出物体',
'menubar/file/export/scene': '导出场景',
'menubar/file/export/dae': '导出DAE',
'menubar/file/export/drc': '导出DRC',
'menubar/file/export/glb': '导出GLB',
'menubar/file/export/gltf': '导出GLTF',
Expand Down
1 change: 0 additions & 1 deletion editor/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ const assets = [

'../examples/jsm/environments/RoomEnvironment.js',

'../examples/jsm/exporters/ColladaExporter.js',
'../examples/jsm/exporters/DRACOExporter.js',
'../examples/jsm/exporters/GLTFExporter.js',
'../examples/jsm/exporters/OBJExporter.js',
Expand Down

0 comments on commit 61acd4c

Please sign in to comment.