Skip to content

Bug numerics TRS_to_matrix function #55

@polyakovkrylo

Description

@polyakovkrylo

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions