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

fix(STLExporter): no positionAttributes + TS #326

Merged
merged 5 commits into from
Jan 15, 2024

Conversation

stockhuman
Copy link
Member

Hello!

This fixes the facet normal / vertex text interpolation bug from the previous TS conversion and guards against positionAttribute-less meshes.

Why

I happened to use the library before d5df2b3, and independently fixed the Typescript implementation, where a simple text interpolation error prevented string export.

Not present in either ts/js impl. is a small change to improve robustness, where a malformed (or custom) elements might break the exporter when missing a position buffer attribute. This change was implemented here, and should be up for a while.

Fixes the facet normal / vertex text interpolation bug from the TS conversion and guards against positionAttribute-less meshes
@CodyJasonBennett CodyJasonBennett self-assigned this Dec 30, 2023
@CodyJasonBennett CodyJasonBennett changed the title Fix(STLExporter): no positionAttributes + TS fix(STLExporter): no positionAttributes + TS Dec 30, 2023
@CodyJasonBennett
Copy link
Member

I'll need to look into the new syntax for bone transforms to clear CI (we support r128-current), but otherwise looks good.

@CodyJasonBennett
Copy link
Member

mrdoob/three.js#25586

Copy link

codesandbox-ci bot commented Jan 15, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@CodyJasonBennett CodyJasonBennett merged commit a960357 into pmndrs:main Jan 15, 2024
3 checks passed
Copy link

🎉 This PR is included in version 2.29.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants