Skip to content

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

@rassweiler

Description

@rassweiler

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions