aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llhudeffectlookat.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:59 -0500
committerJacek Antonelli2008-08-15 23:44:59 -0500
commita408bac29378072fbf36864164149458c978cfcc (patch)
tree67feccf1a5d3816611ba48d6762f86f0f7f4b1f6 /linden/indra/newview/llhudeffectlookat.cpp
parentSecond Life viewer sources 1.17.0.12 (diff)
downloadmeta-impy-a408bac29378072fbf36864164149458c978cfcc.zip
meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.gz
meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.bz2
meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.xz
Second Life viewer sources 1.17.1.0
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llhudeffectlookat.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/linden/indra/newview/llhudeffectlookat.cpp b/linden/indra/newview/llhudeffectlookat.cpp
index 5250b57..813f924 100644
--- a/linden/indra/newview/llhudeffectlookat.cpp
+++ b/linden/indra/newview/llhudeffectlookat.cpp
@@ -476,6 +476,7 @@ void LLHUDEffectLookAt::calcTargetPosition()
476 { 476 {
477 //sets the lookat point in front of the avatar 477 //sets the lookat point in front of the avatar
478 mTargetOffsetGlobal.setVec(5.0, 0.0, 0.0); 478 mTargetOffsetGlobal.setVec(5.0, 0.0, 0.0);
479 local_offset.setVec(mTargetOffsetGlobal);
479 } 480 }
480 481
481 mTargetPos = avatarp->mHeadp->getWorldPosition(); 482 mTargetPos = avatarp->mHeadp->getWorldPosition();