Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug numerics TRS_to_matrix function #55

Open
polyakovkrylo opened this issue Jun 17, 2021 · 0 comments
Open

Bug numerics TRS_to_matrix function #55

polyakovkrylo opened this issue Jun 17, 2021 · 0 comments

Comments

@polyakovkrylo
Copy link

When trying to launch the sofiaLeg demo provided by the ModelOrderReduction plugin, the newBox function did not work for me. I noticed that TRS_to_matrix() does not initiate the rotation quaternion when a zero rotation is given. It can be fixed by adding the following lines:

if eulerRotation != None:
      rotation = from_euler( to_radians( eulerRotation ) )
else:
      rotation = [0, 0, 0, 1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant