summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawable.cpp
diff options
context:
space:
mode:
authorHecklezz <tj8@live.com.au>2025-11-13 15:55:28 +1000
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-11-13 10:18:19 +0200
commit4b78edbd1cd62b34f0b3f2b98ab4398437c6bc4d (patch)
tree7991f317f145497df96b97e63364e4324ef5b1d0 /indra/newview/lldrawable.cpp
parent516a3d0dae7117068175df925ec2216430350b76 (diff)
Follow-up null checks on mVObjp to prevent crashes
Signed-off-by: Hecklezz <tj8@live.com.au>
Diffstat (limited to 'indra/newview/lldrawable.cpp')
-rw-r--r--indra/newview/lldrawable.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp
index 6f8fb34fb3..322ee90541 100644
--- a/indra/newview/lldrawable.cpp
+++ b/indra/newview/lldrawable.cpp
@@ -954,6 +954,11 @@ void LLDrawable::updateTexture()
return;
}
+ if (!mVObjp)
+ {
+ return;
+ }
+
if (getNumFaces() != mVObjp->getNumTEs())
{ //drawable is transitioning its face count
return;