aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpoolavatar.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 {