Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BBS model exporter: Fix faces exporting when they are disabled #521

Merged
merged 1 commit into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@
"icon": "fa-file-export",
"author": "McHorse",
"description": "Adds actions to export/import models in BBS format, which is used by BBS machinima studio.",
"version": "1.2.0",
"version": "1.2.1",
"variant": "both",
"tags": ["Exporter"]
},
Expand Down
4 changes: 2 additions & 2 deletions plugins/bbs_exporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
{
var face = c.faces[key];

if (face)
if (face && face.texture)
{
var uv = face.uv.slice();

Expand Down Expand Up @@ -585,7 +585,7 @@
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.0",
version: "1.2.1",
variant: "both",
onload() {
exportAction = new Action("bbs_exporter", {
Expand Down
Loading