diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-03-27 11:22:02 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-03-27 11:22:33 +0100 |
commit | cab8cfbe60e2829d62308444a610d340d2370781 (patch) | |
tree | f6c0b7e93f7a0cec5654b0d012003785ffbe3d38 /sd/source/ui/view | |
parent | 4f48dc2f978d36ef9ba08bf828894fa578430fc7 (diff) |
Basic UI for inserting 3D models
-By now only in impress.
-One supported file format: gltf/.json
Change-Id: I66b9cc91afeac292a19e8917f923228dc96a791a
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r-- | sd/source/ui/view/drviews2.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx index c996d14deff2..856297edbe1c 100644 --- a/sd/source/ui/view/drviews2.cxx +++ b/sd/source/ui/view/drviews2.cxx @@ -1167,6 +1167,17 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) } break; + case SID_INSERT_3DMODEL: + { + SetCurrentFunction( FuInsert3DModel::Create( this, GetActiveWindow(), mpDrawView, GetDoc(), rReq ) ); + + Cancel(); + rReq.Ignore (); + + Invalidate(SID_DRAWTBX_INSERT); + } + break; + case SID_COPYOBJECTS: { if ( mpDrawView->IsPresObjSelected(sal_False, sal_True) ) |