Point at was being disabled with look at.

This commit is contained in:
phr0z3nt04st
2010-05-22 21:37:02 -05:00
parent 20c7c01cda
commit 28c3c0ac47

View File

@@ -105,7 +105,7 @@ BOOL LLAgent::setLookAt(ELookAtType target_type, LLViewerObject *object, LLVecto
BOOL LLAgent::setPointAt(EPointAtType target_type, LLViewerObject *object, LLVector3 position)
{
// disallow pointing at attachments and avatars
if (object && (object->isAttachment() || object->isAvatar()) || gSavedSettings.getBOOL("PrivateLookAt"))
if (object && (object->isAttachment() || object->isAvatar()) || gSavedSettings.getBOOL("DisablePointAtAndBeam"))
{
return FALSE;
}