summaryrefslogtreecommitdiff
path: root/sd/source/ui/view
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-06-11 12:37:15 +0200
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-06-13 00:33:10 +0200
commitc02888383e9666ac29e3c9c4b4549030d16a6d57 (patch)
treebe5cf5c6d08a697d90921e2d42b613423ac3c2d1 /sd/source/ui/view
parentfcee15fdac221139103a46b13ef01367f633c7bc (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 (cherry picked from commit e8fcf1153fd93b4f8155da0d571935125367a59b)
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r--sd/source/ui/view/sdview4.cxx2
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);