Remove Unnecessary Try Statement

master
SE2Dev 2019-09-14 14:08:19 -04:00
parent 46ca1ccf7b
commit f28c42cf6d
1 changed files with 1 additions and 3 deletions

View File

@ -212,9 +212,7 @@ def load_seanim(self, context, progress, filepath=""):
angle = quat.to_matrix().to_3x3()
bone.matrix_basis.identity()
try:
bone.parent.matrix
except:
if bone.parent is None:
# I don't actually remember why this is here - probably
# to set the root bone(s) to its rest pos / angle
bone.matrix_basis.identity()