summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-10-06 23:38:26 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-10-06 23:38:26 +0300
commit9563cf0556af7884b23272a8d814fef1678a8a19 (patch)
tree02a686655eaf6f21be627fd8b553f706be5541b4 /indra
parent81e68e78a13797508d13cf391fb9befcc06c1cdb (diff)
SL-15415 Crashes in updateGeometry
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lldrawable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp
index 507af56cb0..4fe7e516cc 100644
--- a/indra/newview/lldrawable.cpp
+++ b/indra/newview/lldrawable.cpp
@@ -958,7 +958,7 @@ void LLDrawable::updateTexture()
BOOL LLDrawable::updateGeometry(BOOL priority)
{
llassert(mVObjp.notNull());
- BOOL res = mVObjp->updateGeometry(this);
+ BOOL res = mVObjp && mVObjp->updateGeometry(this);
return res;
}