diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-03-07 16:44:21 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-03-07 16:44:21 +0800 |
commit | 266e96605781960799dc5388cc1ac168432ff106 (patch) | |
tree | 5f46ae7d39a8a954ea9f79dc7216cad6aca2ee6a /indra/newview/llpanelface.cpp | |
parent | 530ff898b00d1759ab4abb32dcf9767960ce7170 (diff) | |
parent | bf949ce004c25917aabddd1cd24be812713e4602 (diff) |
Merge branch '2024.12-ForeverFPS'
Diffstat (limited to 'indra/newview/llpanelface.cpp')
-rw-r--r-- | indra/newview/llpanelface.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index b07946dd5d..74fb2f0f93 100644 --- a/indra/newview/llpanelface.cpp +++ b/indra/newview/llpanelface.cpp @@ -898,6 +898,10 @@ struct LLPanelFaceGetIsAlignedTEFunctor : public LLSelectedTEFunctor if (facep->calcAlignedPlanarTE(mCenterFace, &aligned_st_offset, &aligned_st_scale, &aligned_st_rot)) { const LLTextureEntry* tep = facep->getTextureEntry(); + if (!tep) + { + return false; + } LLVector2 st_offset, st_scale; tep->getOffset(&st_offset.mV[VX], &st_offset.mV[VY]); tep->getScale(&st_scale.mV[VX], &st_scale.mV[VY]); |