diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-06-29 14:15:58 +0100 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-06-29 14:15:58 +0100 |
commit | 999b0b47b59cb6be6f229066825bdec88f00304e (patch) | |
tree | 9bb6f11afbeea16ce1014401f4ff017196cb2028 /indra/newview | |
parent | c2280848e1714329172ea4c0881993aa62f3cd8f (diff) |
SL-722 - crash fix
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llvovolume.cpp | 4 |
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) { |