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

Custom properties on meshes aren't retained when applying modifiers #403

Closed
blm768 opened this issue Apr 3, 2019 · 2 comments · Fixed by #408
Closed

Custom properties on meshes aren't retained when applying modifiers #403

blm768 opened this issue Apr 3, 2019 · 2 comments · Fixed by #408
Labels
enhancement New feature or request exporter This involves or affects the export process

Comments

@blm768
Copy link
Contributor

blm768 commented Apr 3, 2019

It appears that the exporter doesn't support exporting custom attributes as extras for meshes. Attaching custom properties to the containing object works fine, but properties on the mesh datablock itself seem to be ignored.

Tested in Blender 2.80 beta from a couple of days ago.

I'd be willing to try to scrape together a PR to implement support for exporting custom mesh properties.

@donmccurdy donmccurdy added enhancement New feature or request exporter This involves or affects the export process labels Apr 3, 2019
@donmccurdy
Copy link
Contributor

A PR would be welcome if you could do it, thanks! :)

@blm768
Copy link
Contributor Author

blm768 commented Apr 5, 2019

So, as it turns out, mesh extras work just fine by themselves. There only seems to be an issue when "apply modifiers" is turned on. Looks like to_mesh drops them. It looks like copying them back over to the generated mesh is easy enough, though.

@blm768 blm768 changed the title Custom properties as mesh extras Custom properties on meshes aren't retained when applying modifiers Apr 5, 2019
@UX3D-nopper UX3D-nopper added this to the Community milestone Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request exporter This involves or affects the export process
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants