summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
authorWilliam Todd Stinson <stinson@lindenlab.com>2012-11-09 17:55:44 -0800
committerWilliam Todd Stinson <stinson@lindenlab.com>2012-11-09 17:55:44 -0800
commitb10b7833ee160fa05a70922bffc191829bf0fb21 (patch)
treeb3525d62b64277b6190a37d90d0beb49a15215e0 /indra/newview/llviewerobject.cpp
parentef26660c3087d848899023e8986db2aec752cf3f (diff)
MAINT-1755: Correcting behavior when llTargetOmega is called with zero spin rate.
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r--indra/newview/llviewerobject.cpp4
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();
}