support model/gltf-binary file in booklet

This commit is contained in:
lxsang
2020-09-13 17:10:45 +02:00
parent 8bf76e6661
commit b22474a6e8
9 changed files with 188 additions and 6 deletions

View File

@ -217,7 +217,7 @@ class Booklet extends this.OS.application.BaseApplication
return unless @book
@openDialog "FileDialog", {
title: __("Select 3d model"),
mimes: ["text/wavefront-obj"],
mimes: ["text/wavefront-obj", "model/gltf-binary"],
root: @book.path
}
.then (d) =>