summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatarself.cpp
diff options
context:
space:
mode:
authorRichard Nelson <richard@lindenlab.com>2009-07-09 22:31:17 +0000
committerRichard Nelson <richard@lindenlab.com>2009-07-09 22:31:17 +0000
commitee24bbdd482f4d183b92221ebef15d9555860534 (patch)
tree3dc83686097d84e374482f14129ebf3e7ecd8545 /indra/newview/llvoavatarself.cpp
parent8016e73cc0a2a27062fae27e609535e002eef362 (diff)
DEV-34804 right click object more>attach HUD, hover and a black bar appears
reviewed by Austni
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rw-r--r--indra/newview/llvoavatarself.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index ef02b509ba..55e72cc437 100644
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -161,9 +161,17 @@ LLVOAvatarSelf::LLVOAvatarSelf(const LLUUID& id,
{
mLocalTextureDatas[(ETextureIndex)i].push_back(new LocalTextureData);
}
+}
+void LLVOAvatarSelf::initInstance()
+{
BOOL status = TRUE;
+ // creates hud joint(mScreen) among other things
status &= loadAvatarSelf();
+
+ // adds attachment points to mScreen among other things
+ LLVOAvatar::initInstance();
+
status &= buildMenus();
if (!status)
{