diff options
author | Jacek Antonelli | 2008-08-15 23:44:59 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:59 -0500 |
commit | a408bac29378072fbf36864164149458c978cfcc (patch) | |
tree | 67feccf1a5d3816611ba48d6762f86f0f7f4b1f6 /linden/indra/newview/llhudeffectlookat.cpp | |
parent | Second Life viewer sources 1.17.0.12 (diff) | |
download | meta-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.cpp | 1 |
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(); |