summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2017-06-29 14:15:58 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2017-06-29 14:15:58 +0100
commit999b0b47b59cb6be6f229066825bdec88f00304e (patch)
tree9bb6f11afbeea16ce1014401f4ff017196cb2028 /indra/newview/llvovolume.cpp
parentc2280848e1714329172ea4c0881993aa62f3cd8f (diff)
SL-722 - crash fix
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r--indra/newview/llvovolume.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index b22d1c45a8..911575138b 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -3320,6 +3320,10 @@ bool LLVOVolume::canBeAnimatedObject() const
{
return false;
}
+ if (!getVolume())
+ {
+ return false;
+ }
const LLMeshSkinInfo* skin = gMeshRepo.getSkinInfo(getVolume()->getParams().getSculptID(), this);
if (!skin)
{