diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-03-25 17:27:50 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-03-25 17:27:50 -0400 |
commit | 853d9e44534f568d4a17033c7b8ecbafddf7bd69 (patch) | |
tree | f74a2a4ac2cb05c975f34244e13848ed82833137 /indra/newview/llagent.cpp | |
parent | 504cf0870d964de5b286621a44098af6afdf13cd (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.cpp | 3 |
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 |