Merge branch 'master' into feature-original-sequence-names
# Conflicts: # io_scene_psk_psa/psa/exporter.py
This commit is contained in:
@@ -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}')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user