diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-06-11 12:37:15 +0200 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-06-12 21:43:36 +0200 |
commit | e8fcf1153fd93b4f8155da0d571935125367a59b (patch) | |
tree | fcecc233812c2d29bc3e449fced4aa32c5ee281f /sd/source/ui/view | |
parent | 653bac184f579524bc25a9f40281763a736ae6fd (diff) |
Change glTF mime type: {application -> model}/vnd.gltf+json
There is no an accepted mime type for glTF models yet, so
follow collada's mime type: model/vnd.collada+xml.
Change-Id: I1e23a95dbb0caea781dade819f8e08235cb5c1dc
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r-- | sd/source/ui/view/sdview4.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/sdview4.cxx b/sd/source/ui/view/sdview4.cxx index e698e6457996..7b64cc8af556 100644 --- a/sd/source/ui/view/sdview4.cxx +++ b/sd/source/ui/view/sdview4.cxx @@ -310,7 +310,7 @@ SdrMediaObj* View::Insert3DModelURL( if (!bRet) { return 0; } } - SdrMediaObj* pRetObject = InsertMediaObj( sRealURL, "application/vnd.gltf+json", rAction, rPos, rSize ); + SdrMediaObj* pRetObject = InsertMediaObj( sRealURL, "model/vnd.gltf+json", rAction, rPos, rSize ); avmedia::MediaItem aItem = pRetObject->getMediaProperties(); aItem.setLoop(true); pRetObject->setMediaProperties(aItem); |