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 #2394 - Crash when remove armature object + export only def bones #2397

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

julienduroure
Copy link
Collaborator

Fix #2394

This check is done before the filter of non deformation bone.
So when we want to get this list, as it's cached, we get the list with non deformation bones, so try to access a bone that is filtered

Additional bug when we want to export only DEF bones :
the check is done on all bugs, not only deformation bones, if we want to get only def bones.
So having at root a DEF and a nonDEF bone => Check will failed and said we can't remove armature

Solution: When checking if we can remove armature, indicate that we don't want to cache the result

@julienduroure julienduroure changed the base branch from main to blender-v4.3-release November 5, 2024 16:08
@julienduroure julienduroure changed the title Fix #2394 Fix #2394 - Crash when remove armature object + export only def bones Nov 12, 2024
@julienduroure julienduroure changed the base branch from blender-v4.3-release to main November 14, 2024 15:00
@julienduroure julienduroure merged commit 69da18c into main Nov 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant