summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews2.cxx
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-03-27 11:22:02 +0100
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-03-27 11:22:33 +0100
commitcab8cfbe60e2829d62308444a610d340d2370781 (patch)
treef6c0b7e93f7a0cec5654b0d012003785ffbe3d38 /sd/source/ui/view/drviews2.cxx
parent4f48dc2f978d36ef9ba08bf828894fa578430fc7 (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/drviews2.cxx')
-rw-r--r--sd/source/ui/view/drviews2.cxx11
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) )