Skip to content

Commit

Permalink
fix: *Bone member tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeCrassous committed Apr 14, 2021
1 parent ca66771 commit fbd9f2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions mixer/blender_data/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ def unhandled_bpy_data_collection_names(self) -> List[str]:
"matrix_basis",
# readonly
"head",
"is_in_ik_chain",
"length",
"matrix_channel",
"tail",
Expand Down
4 changes: 3 additions & 1 deletion mixer/blender_data/misc_proxies.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,11 +314,13 @@ class PtrToCollectionItemProxy(Proxy):
(T.ShapeKey, "relative_key"): ("key_blocks",),
(T.FCurve, "group"): ("groups",),
(T.EditBone, "parent"): ("edit_bones",),
(T.EditBone, "bbone_custom_handle_start"): ("edit_bones",),
(T.EditBone, "bbone_custom_handle_end"): ("edit_bones",),
(T.PoseBone, "bone_group"): ("pose", "bone_groups"),
}
"""{ struct member: path to the enclosing datablock collection}.
For instance PoseBone.bone_group is a pointer to a pose.bone_groups element in the same datablock
For instance PoseBone.bone_group is a pointer to a pose.bone_groups element in the same datablock.
"""

@classmethod
Expand Down

0 comments on commit fbd9f2a

Please sign in to comment.