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

@ -4,6 +4,8 @@ A back-end tool for my online document hub [https://doc.iohub.dev/antos/](https:
## Change logs ## Change logs
### v0.1.0-a
* Add support to model/gltf-binary file
### v0.1.0-a: new feature ### v0.1.0-a: new feature
* Entries of the same parent now can go up and down * Entries of the same parent now can go up and down
* Support drag and drop to move entries around * Support drag and drop to move entries around

View File

@ -4,6 +4,8 @@ A back-end tool for my online document hub [https://doc.iohub.dev/antos/](https:
## Change logs ## Change logs
### v0.1.0-a
* Add support to model/gltf-binary file
### v0.1.0-a: new feature ### v0.1.0-a: new feature
* Entries of the same parent now can go up and down * Entries of the same parent now can go up and down
* Support drag and drop to move entries around * Support drag and drop to move entries around

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,7 @@
"author": "Xuan Sang LE", "author": "Xuan Sang LE",
"email": "mrsang@lxsang.me" "email": "mrsang@lxsang.me"
}, },
"version":"0.1.0-a", "version":"0.1.1-a",
"category":"Other", "category":"Other",
"iconclass":"fa fa-adn", "iconclass":"fa fa-adn",
"mimes":["dir"] "mimes":["dir"]

Binary file not shown.

View File

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

View File

@ -6,7 +6,7 @@
"author": "Xuan Sang LE", "author": "Xuan Sang LE",
"email": "mrsang@lxsang.me" "email": "mrsang@lxsang.me"
}, },
"version":"0.1.0-a", "version":"0.1.1-a",
"category":"Other", "category":"Other",
"iconclass":"fa fa-adn", "iconclass":"fa fa-adn",
"mimes":["dir"] "mimes":["dir"]

View File

@ -50,7 +50,7 @@
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Booklet/README.md", "description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Booklet/README.md",
"category": "Other", "category": "Other",
"author": "Xuan Sang LE", "author": "Xuan Sang LE",
"version": "0.1.0-a", "version": "0.1.1-a",
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Booklet/build/release/Booklet.zip" "download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/Booklet/build/release/Booklet.zip"
}, },
{ {

File diff suppressed because one or more lines are too long