summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-04-30 17:51:46 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-04-30 17:51:46 +0300
commit9c31597e5e798d40b00e55187949ef2687917022 (patch)
treed3f9490a59f8cd0424d1042d8e6ff4591d962bf2 /indra/newview
parentb6441bf09b9058a799e7581878ee21007323ee0c (diff)
SL-13141 Crashfix contribution
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llvovolume.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 2ffd462ac3..a6500d1399 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -261,7 +261,10 @@ void LLVOVolume::markDead()
{
if (!mDead)
{
- LLSculptIDSize::instance().rem(getVolume()->getParams().getSculptID());
+ if (getVolume())
+ {
+ LLSculptIDSize::instance().rem(getVolume()->getParams().getSculptID());
+ }
if(getMDCImplCount() > 0)
{