From 32b59b5609706d574e2e3b9ff6162d35f6d7781c Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:48 -0500 Subject: Second Life viewer sources 1.20.5 --- linden/indra/newview/llviewerobject.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'linden/indra/newview/llviewerobject.cpp') diff --git a/linden/indra/newview/llviewerobject.cpp b/linden/indra/newview/llviewerobject.cpp index 057e2d9..b0bd5ce 100644 --- a/linden/indra/newview/llviewerobject.cpp +++ b/linden/indra/newview/llviewerobject.cpp @@ -1861,9 +1861,14 @@ U32 LLViewerObject::processUpdateMessage(LLMessageSystem *mesgsys, if (new_rot != mLastRot || new_angv != old_angv) { - mLastRot = new_rot; + if (new_rot != mLastRot) + { + mLastRot = new_rot; + setRotation(new_rot); + } + setChanged(ROTATED | SILHOUETTE); - setRotation(new_rot); + resetRot(); } -- cgit v1.1