Kaydet (Commit) e0d94ef4 authored tarafından Zolnai Tamás's avatar Zolnai Tamás

3D model insertion UI: add *.dae and *.kmz filters

Change-Id: I20f6bea3b1f5ba03cc461f461458f5460da716c3
üst b862a216
......@@ -777,8 +777,10 @@ void FuInsert3DModel::DoExecute( SfxRequest& )
sfx2::FileDialogHelper aDlg( ui::dialogs::TemplateDescription::FILEOPEN_SIMPLE, 0 );
aDlg.SetTitle( "Insert 3D Model" );
aDlg.AddFilter( "All supported formats", "*.json; *.dae; *.kmz" );
aDlg.AddFilter( "GL Transmission Format", "*.json" );
aDlg.AddFilter( "All files", "*.*" );
aDlg.AddFilter( "COLLADA", "*.dae" );
aDlg.AddFilter( "Keyhole Markup language Zipped", "*.kmz" );
OUString sURL;
if( aDlg.Execute() == ERRCODE_NONE )
......@@ -810,7 +812,6 @@ void FuInsert3DModel::DoExecute( SfxRequest& )
aPos.Y() -= aSize.Height() >> 1;
}
mpView->Insert3DModelURL( sURL, nAction, aPos, aSize, false ) ;
if( mpWindow )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment