summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2016-02-07 15:18:18 +0100
committerKitty Barnett <develop@catznip.com>2016-02-07 15:18:18 +0100
commitd405e8da7ba2d4b9e4704ed8d4a3dcf9a3a4dfe1 (patch)
tree05ac3b1bfc93cc5b5b720683c912a91e614618d2 /indra/newview
parentb8bb07533e4eb62368f673b6de1033bc8c46e6a9 (diff)
FIXED Crash in LLVOVolume::lineSegmentIntersect()
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llvovolume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 25008ccc4f..476c0eef15 100755
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -3904,7 +3904,7 @@ BOOL LLVOVolume::lineSegmentIntersect(const LLVector4a& start, const LLVector4a&
if (mDrawable->isState(LLDrawable::RIGGED))
{
- if ((pick_rigged) || ((getAvatar()->isSelf()) && (LLFloater::isVisible(gFloaterTools))))
+ if ((pick_rigged) || (getAvatar() && (getAvatar()->isSelf()) && (LLFloater::isVisible(gFloaterTools))))
{
updateRiggedVolume(true);
volume = mRiggedVolume;