Page MenuHome

Fix T76446: Quaternions at 0,0,0,0 locks rotation
Needs ReviewPublic

Authored by Germano Cavalcante (mano-wii) on Tue, May 5, 8:42 PM.
This revision needs review, but there are no reviewers specified.


Maniphest Tasks
T76446: Quaternions at 0,0,0,0 locks rotation.

This patch proposes a special behavior for when the initial value of
Quaternion is undefined.

Currently the rotate operator maintains the same scaling factor of the
quartenion in the result of the transformation.

But if the scale factor is zero the result is always (0, 0, 0, 0).

The operation in this case seems redundant.

Ref T76446

Diff Detail

rB Blender
fix_T76446 (branched from master)
Build Status
Buildable 7896
Build 7896: arc lint + arc unit

Event Timeline

Germano Cavalcante (mano-wii) requested review of this revision.Tue, May 5, 8:42 PM
Germano Cavalcante (mano-wii) created this revision.