Merge branch 'master' into feature-original-sequence-names

# Conflicts:
#	io_scene_psk_psa/psa/exporter.py
This commit is contained in:
Colin Basnett
2022-02-02 20:07:10 -08:00
5 changed files with 10 additions and 9 deletions

View File

@@ -55,7 +55,7 @@ class PsaBuilder(object):
# Ensure that the exported hierarchy has a single root bone.
root_bones = [x for x in bones if x.parent is None]
if len(root_bones) > 1:
root_bone_names = [x.name for x in bones]
root_bone_names = [x.name for x in root_bones]
raise RuntimeError('Exported bone hierarchy must have a single root bone.'
f'The bone hierarchy marked for export has {len(root_bones)} root bones: {root_bone_names}')