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

Import extra data as custom properties #709

Merged
merged 2 commits into from
Oct 12, 2019
Merged

Import extra data as custom properties #709

merged 2 commits into from
Oct 12, 2019

Conversation

scurest
Copy link
Contributor

@scurest scurest commented Oct 2, 2019

This moves generate_extras for the exporter into the common files and adds a set_extras for the importer to use.

Extra data on the following objects is imported and can be round-tripped when the Custom Properties option for the exporter is checked

  • meshes
  • materials
  • nodes (except bones)
  • lights
  • cameras

(This was requested at ksons/gltf-blender-importer#48)

Moved generate_extras for the exporter into the common files and
added set_extras for the importer to use.

extras data on cameras, non-bone nodes, materials, and meshes
is now imported and should round-trip succesfully as long as the
Custom Properties option is checked when exporting.
@julienduroure julienduroure added this to the Blender 2.82 milestone Oct 2, 2019
@julienduroure julienduroure added enhancement New feature or request exporter This involves or affects the export process importer This involves or affects the import process labels Oct 2, 2019
@julienduroure
Copy link
Collaborator

Next step: we need to manage bones too.

@julienduroure julienduroure merged commit 6b4c79c into KhronosGroup:master Oct 12, 2019
@scurest scurest deleted the extras branch October 12, 2019 16:10
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 importer This involves or affects the import process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants