Update __init__.py
Fixed bone name export.
This commit is contained in:
parent
3ff68c37cd
commit
42fca1b0a3
@ -83,8 +83,8 @@ def ExportSkeletons(bytes, skeletons):
|
|||||||
bytes.extend(struct.pack("<B", len(skeletons[0].data.bones)))
|
bytes.extend(struct.pack("<B", len(skeletons[0].data.bones)))
|
||||||
|
|
||||||
for b in skeletons[0].data.bones:
|
for b in skeletons[0].data.bones:
|
||||||
bytes.extend(struct.pack("<Q", len(b.name)))
|
|
||||||
bytes.extend(str.encode(b.name))
|
bytes.extend(str.encode(b.name))
|
||||||
|
bytes.append(0)
|
||||||
|
|
||||||
|
|
||||||
flipMatrix = axis_conversion(from_forward='Y', from_up='Z', to_forward='Z', to_up='Y').to_4x4()
|
flipMatrix = axis_conversion(from_forward='Y', from_up='Z', to_forward='Z', to_up='Y').to_4x4()
|
||||||
|
Loading…
Reference in New Issue
Block a user