SL-18811 Fix for reflection probes associated with an object not immediately being removed when the object is killed.
parent
e3b34fec69
commit
1915b7a008
|
|
@ -520,6 +520,12 @@ void LLViewerObject::markDead()
|
|||
LLFollowCamMgr::getInstance()->removeFollowCamParams(mID);
|
||||
}
|
||||
|
||||
if (mReflectionProbe.notNull())
|
||||
{
|
||||
mReflectionProbe->mViewerObject = nullptr;
|
||||
mReflectionProbe = nullptr;
|
||||
}
|
||||
|
||||
sNumZombieObjects++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue