diff options
| author | Loren Shih <seraph@lindenlab.com> | 2010-03-26 13:58:19 -0400 |
|---|---|---|
| committer | Loren Shih <seraph@lindenlab.com> | 2010-03-26 13:58:19 -0400 |
| commit | 0bcfbde3a4265d7963ea501622e512de8eab7f61 (patch) | |
| tree | 9947dc73b2be9bc6bb4907938b67bf5c3fee4d09 /indra/newview/llpreview.cpp | |
| parent | b74e1d942352e81e0cc00e21ef3b351152b32248 (diff) | |
EXT-6536 : Make LLVOAvatarSelf a singleton
Lots of superficial cleanup, particularly around "if (" formatting.
Removed LLAgent as a friend of LLAgentCamera and refactored to use accessors.
Diffstat (limited to 'indra/newview/llpreview.cpp')
| -rw-r--r-- | indra/newview/llpreview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpreview.cpp b/indra/newview/llpreview.cpp index 99e0b82b8f..312bbc0e11 100644 --- a/indra/newview/llpreview.cpp +++ b/indra/newview/llpreview.cpp @@ -180,7 +180,7 @@ void LLPreview::onCommit() if( item->getType() == LLAssetType::AT_OBJECT ) { LLVOAvatarSelf* avatarp = gAgent.getAvatarObject(); - if(avatarp) + if (avatarp) { LLViewerObject* obj = avatarp->getWornAttachment( item->getUUID() ); if( obj ) |
