summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-03-25 17:27:50 -0400
committerLoren Shih <seraph@lindenlab.com>2010-03-25 17:27:50 -0400
commit853d9e44534f568d4a17033c7b8ecbafddf7bd69 (patch)
treef74a2a4ac2cb05c975f34244e13848ed82833137 /indra/newview/llagent.cpp
parent504cf0870d964de5b286621a44098af6afdf13cd (diff)
EXT-6539 : Take out mAvatarObject from LLAgentWearables
Removed mAvatarObject / gAgentWearables.mAvatarObject since it's redundant with gAgent.mAvatarObject.
Diffstat (limited to 'indra/newview/llagent.cpp')
-rw-r--r--indra/newview/llagent.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 68b5a3401e..da16136652 100644
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -1645,7 +1645,8 @@ void LLAgent::setAvatarObject(LLVOAvatarSelf *avatar)
return;
}
- gAgentCamera.setCameraAvatarObject(avatar);
+ gAgentCamera.setAvatarObject(avatar);
+ gAgentWearables.setAvatarObject(avatar);
}
// TRUE if your own avatar needs to be rendered. Usually only