aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llhudeffectlookat.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llhudeffectlookat.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/llhudeffectlookat.cpp b/linden/indra/newview/llhudeffectlookat.cpp
index ccd723f..333bd13 100644
--- a/linden/indra/newview/llhudeffectlookat.cpp
+++ b/linden/indra/newview/llhudeffectlookat.cpp
@@ -702,6 +702,11 @@ bool LLHUDEffectLookAt::calcTargetPosition()
702 702
703 LLVOAvatar* source_avatar = (LLVOAvatar*)(LLViewerObject*)mSourceObject; 703 LLVOAvatar* source_avatar = (LLVOAvatar*)(LLViewerObject*)mSourceObject;
704 704
705 if (!source_avatar->isBuilt())
706 {
707 return false;
708 }
709
705 if (target_obj && target_obj->mDrawable.notNull()) 710 if (target_obj && target_obj->mDrawable.notNull())
706 { 711 {
707 LLQuaternion target_rot; 712 LLQuaternion target_rot;