diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-09-16 13:14:30 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-09-16 13:14:30 -0400 |
commit | 77eb3aae04b276369aea70d2931f6aed7352d823 (patch) | |
tree | 77af72e12edbbe9c3087653b1670cca654930365 /indra | |
parent | 832ed49f5bb6683323be0ababf8984b2f0701108 (diff) |
SH-2440 FIX - first build, then test, then commit
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llviewerobject.cpp | 5 |
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; } |