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

Fixed gltf export script crashing when selecting Include > Data > Punctual Lights in the export menu. #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jkukatzki
Copy link

Hello,

the gltf2_blender_gather_nodes.py script crashes at line 188 when including punctual lights because Meshes for example have their "type" variable checked which doesn't seem to exist on meshes.

I added a condition to make the script work.

Fixed unchecked access to vnode.data.type variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant