aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpoolavatar.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:59 -0500
committerJacek Antonelli2008-08-15 23:44:59 -0500
commita408bac29378072fbf36864164149458c978cfcc (patch)
tree67feccf1a5d3816611ba48d6762f86f0f7f4b1f6 /linden/indra/newview/lldrawpoolavatar.cpp
parentSecond Life viewer sources 1.17.0.12 (diff)
downloadmeta-impy-a408bac29378072fbf36864164149458c978cfcc.zip
meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.gz
meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.bz2
meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.xz
Second Life viewer sources 1.17.1.0
Diffstat (limited to 'linden/indra/newview/lldrawpoolavatar.cpp')
-rw-r--r--linden/indra/newview/lldrawpoolavatar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/lldrawpoolavatar.cpp b/linden/indra/newview/lldrawpoolavatar.cpp
index b864449..ae76aeb 100644
--- a/linden/indra/newview/lldrawpoolavatar.cpp
+++ b/linden/indra/newview/lldrawpoolavatar.cpp
@@ -319,7 +319,7 @@ void LLDrawPoolAvatar::renderAvatars(LLVOAvatar* single_avatar, S32 pass)
319 { 319 {
320 return; 320 return;
321 } 321 }
322 avatarp = (LLVOAvatar *)(facep->getDrawable()->getVObj()); 322 avatarp = (LLVOAvatar *)facep->getDrawable()->getVObj().get();
323 } 323 }
324 324
325 if (avatarp->isDead() || avatarp->mDrawable.isNull()) 325 if (avatarp->isDead() || avatarp->mDrawable.isNull())
@@ -525,7 +525,7 @@ void LLDrawPoolAvatar::renderForSelect()
525 { 525 {
526 return; 526 return;
527 } 527 }
528 LLVOAvatar *avatarp = (LLVOAvatar *)(facep->getDrawable()->getVObj()); 528 LLVOAvatar *avatarp = (LLVOAvatar *)facep->getDrawable()->getVObj().get();
529 529
530 if (avatarp->isDead() || avatarp->mIsDummy || avatarp->mDrawable.isNull()) 530 if (avatarp->isDead() || avatarp->mIsDummy || avatarp->mDrawable.isNull())
531 { 531 {