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

blender exporter breaks when parent contains keyframe animation and child does not #8061

Merged
merged 1 commit into from
Feb 7, 2016

Conversation

mhirsch
Copy link

@mhirsch mhirsch commented Feb 3, 2016

Objects with parents containing keyframe animations, but which don't themselves contain keyframe animations, break the exporter. This small patch adds a check that the animation object and action are not NoneType, returning an empty animation when they are. It is common to animate a parent object with children which remain stationary relative to the parent.

…themselves contain keyframe animations, break the exporter
@mhirsch
Copy link
Author

mhirsch commented Feb 3, 2016

I'm not sure if blender's behavior has changed, since it's hard to believe that this wouldn't have come up before. I'm using blender 2.75, for reference.

mrdoob added a commit that referenced this pull request Feb 7, 2016
blender exporter breaks when parent contains keyframe animation and child does not
@mrdoob mrdoob merged commit c1cd181 into mrdoob:dev Feb 7, 2016
@mrdoob
Copy link
Owner

mrdoob commented Feb 7, 2016

Thanks!

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.

2 participants