diff --git a/plugins.json b/plugins.json index 1e93784a..183f94ea 100644 --- a/plugins.json +++ b/plugins.json @@ -758,12 +758,14 @@ }, "bbs_exporter": { "title": "BBS Model Ex/importer", - "icon": "fa-file-export", + "icon": "icon.png", "author": "McHorse", "description": "Adds actions to export/import models in BBS format, which is used by BBS machinima studio.", - "version": "1.2.1", + "version": "1.2.2", "variant": "both", - "tags": ["Exporter"] + "tags": ["Exporter", "Importer"], + "min_version": "4.8.0", + "has_changelog": true }, "highlight_generator": { "title": "Highlight Mod Shape Generator", diff --git a/plugins/bbs_exporter/about.md b/plugins/bbs_exporter/about.md new file mode 100644 index 00000000..80b9b098 --- /dev/null +++ b/plugins/bbs_exporter/about.md @@ -0,0 +1 @@ +**BBS Model Ex/importer** is a plugin to export models in BBS model format, which can be imported by BBS Studio dedicated application, and BBS mod. \ No newline at end of file diff --git a/plugins/bbs_exporter.js b/plugins/bbs_exporter/bbs_exporter.js similarity index 99% rename from plugins/bbs_exporter.js rename to plugins/bbs_exporter/bbs_exporter.js index 6d3578f7..cfd27daa 100644 --- a/plugins/bbs_exporter.js +++ b/plugins/bbs_exporter/bbs_exporter.js @@ -109,7 +109,7 @@ { var face = c.faces[key]; - if (face && face.texture) + if (face && face.texture !== null) { var uv = face.uv.slice(); @@ -585,8 +585,10 @@ author: "McHorse", description: "Adds actions to export/import models in BBS format, which is used by BBS machinima studio.", icon: "fa-file-export", - version: "1.2.1", + version: "1.2.2", + min_version: "4.8.0", variant: "both", + has_changelog: true, onload() { exportAction = new Action("bbs_exporter", { name: "Export BBS model", diff --git a/plugins/bbs_exporter/changelog.json b/plugins/bbs_exporter/changelog.json new file mode 100644 index 00000000..6d940922 --- /dev/null +++ b/plugins/bbs_exporter/changelog.json @@ -0,0 +1,15 @@ +{ + "1.2.2": { + "title": "1.2.2", + "date": "2024-05-02", + "author": "McHorse", + "categories": [ + { + "title": "Bug fixes", + "list": [ + "Fixed cube faces not exporting in one texture formats" + ] + } + ] + } +} \ No newline at end of file diff --git a/plugins/bbs_exporter/icon.png b/plugins/bbs_exporter/icon.png new file mode 100644 index 00000000..e3782163 Binary files /dev/null and b/plugins/bbs_exporter/icon.png differ