finepointcgi / Mixamo-Root

Blender addon for mixamo which allows importing and adding root bones to mixamo animations
GNU General Public License v3.0
37 stars 12 forks source link

Unable To Both Insert Root Bone And Remove Prefix During Load #5

Open rassweiler opened 5 months ago

rassweiler commented 5 months ago

Tested versions

System information

Issue description

The addon silently fails when loading in animations if both insert root and remove prefix are enabled. The addon attempts to rename animations after adding the root bone but fails to find the animation target with a name of "mixamorig:Root".

The addon should rename animations prior to adding the root bone or prevent attempting to rename the Root bone if "Insert Root" is selected.

Console output:

file: left strafe walking.fbx
FBX version: 7700
[Mixamo Root] Now importing: /home/kylerassweiler/Cloud/Master_Libraries/Animation/Mixamo/Root_Motion/Basic-Locomotion//left strafe walking.fbx
[Mixamo Root] ERROR get_all_anims raised 'bpy_prop_collection[key]: key "mixamorig:Root" not found' when processing left strafe walking.fbx
Warning: Remove Prefix set to true, armature components will have their mixamo prefix removed.