diff options
author | William Todd Stinson <stinson@lindenlab.com> | 2012-11-09 17:55:44 -0800 |
---|---|---|
committer | William Todd Stinson <stinson@lindenlab.com> | 2012-11-09 17:55:44 -0800 |
commit | b10b7833ee160fa05a70922bffc191829bf0fb21 (patch) | |
tree | b3525d62b64277b6190a37d90d0beb49a15215e0 | |
parent | ef26660c3087d848899023e8986db2aec752cf3f (diff) |
MAINT-1755: Correcting behavior when llTargetOmega is called with zero spin rate.
-rw-r--r-- | indra/newview/llviewerobject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp index bde4676eb4..b2bd547811 100644 --- a/indra/newview/llviewerobject.cpp +++ b/indra/newview/llviewerobject.cpp @@ -2042,12 +2042,12 @@ U32 LLViewerObject::processUpdateMessage(LLMessageSystem *mesgsys, || (new_angv != old_angv)) { if (new_rot != mPreviousRotation) - { + { resetRot(); } else if (new_angv != old_angv) { - if (flagUsePhysics() || new_angv.isExactlyZero()) + if (flagUsePhysics()) { resetRot(); } |