You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.
The export of the scales doesn't work because there is an exception when the interpreter evaluates the (prop == pose_bone.rotation_TYPE.owner or ...) bit.
When pose_bone is for scaling, one of the rotations doesn't have the attribute owner (I haven't tested which one). This makes the elif statement in line 140 unreachable, because there is an exception catcher down in the code.
I have manually edited the code and successfully exported a .seanim file with scales included. It's easy to fix, just verifying which variables have the attribute before the if branching is enough.
My code is not the cleanest, but I can post a PR if you prefer that.
The text was updated successfully, but these errors were encountered:
The export of the scales doesn't work because there is an exception when the interpreter evaluates the
(prop == pose_bone.rotation_TYPE.owner or ...)
bit.When
pose_bone
is for scaling, one of the rotations doesn't have the attributeowner
(I haven't tested which one). This makes theelif
statement in line 140 unreachable, because there is an exception catcher down in the code.io_anim_seanim/export_seanim.py
Lines 126 to 144 in 3581a99
I have manually edited the code and successfully exported a .seanim file with scales included. It's easy to fix, just verifying which variables have the attribute before the
if
branching is enough.My code is not the cleanest, but I can post a PR if you prefer that.
The text was updated successfully, but these errors were encountered: