Mixamo-Root icon indicating copy to clipboard operation
Mixamo-Root copied to clipboard

Unable To Both Insert Root Bone And Remove Prefix During Load

Open rassweiler opened this issue 2 years ago • 0 comments

Tested versions

  • Mixamo-root: main branch of repo
  • Blender: 4.0.2

System information

  • OS: Arch Linux x86_64 6.6.8-zen1-1-zen
  • GPU: Nvidia RTX 3090 545.29.06

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.

rassweiler avatar Jan 06 '24 14:01 rassweiler