summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2011-09-16 13:14:30 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2011-09-16 13:14:30 -0400
commit77eb3aae04b276369aea70d2931f6aed7352d823 (patch)
tree77af72e12edbbe9c3087653b1670cca654930365 /indra
parent832ed49f5bb6683323be0ababf8984b2f0701108 (diff)
SH-2440 FIX - first build, then test, then commit
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llviewerobject.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index 99a641844f..db7bb002c1 100755
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -150,8 +150,9 @@ LLViewerObject *LLViewerObject::createObject(const LLUUID &id, const LLPCode pco
}
else
{
- res = new LLVOAvatar(id, pcode, regionp);
- res->initInstance();
+ LLVOAvatar *avatar = new LLVOAvatar(id, pcode, regionp);
+ avatar->initInstance();
+ res = avatar;
}
break;
}