Awfully slow (need to abandon bpy.ops) but correct bone parenting

This commit is contained in:
Will Snyder
2020-12-04 01:22:58 -05:00
parent 440a3e7300
commit 30bf326b9e
2 changed files with 56 additions and 7 deletions

View File

@@ -254,6 +254,8 @@ def _read_tran(tran: Reader) -> ModelTransform:
xform.rotation = Quaternion((rot[3], rot[0], rot[1], rot[2]))
xform.translation = Vector(tran.read_f32(3))
print(tran.indent + "Rot: {} Loc: {}".format(str(xform.rotation), str(xform.translation)))
return xform