Skip to content

Commit 97b1ab3

Browse files
committed
#3360 Crash in LLReflectionMapManager::update()
1 parent 12303e2 commit 97b1ab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indra/newview/llreflectionmapmanager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ void LLReflectionMapManager::update()
306306
LLReflectionMap* probe = mProbes[i];
307307
llassert(probe != nullptr);
308308

309-
if (probe->mCubeIndex != -1 && mUpdatingProbe != probe)
309+
if (probe && probe->mCubeIndex != -1 && mUpdatingProbe != probe)
310310
{ // free this index
311311
mCubeFree.push_back(probe->mCubeIndex);
312312

0 commit comments

Comments
 (0)