getRegion pointer check seemed wrong, as result of getRegion was used in case the pointer was nullptr.
parent
bc41ce2915
commit
05412379fa
|
|
@ -1272,7 +1272,7 @@ void LLVOAvatarSelf::removeMissingBakedTextures()
|
|||
// <FS:Beq> Check whether the BOM capability is different to last time we changed region (even across login)
|
||||
void LLVOAvatarSelf::checkBOMRebakeRequired()
|
||||
{
|
||||
if(!getRegion())
|
||||
if(getRegion())
|
||||
{
|
||||
auto newBOMStatus = getRegion()->bakesOnMeshEnabled();
|
||||
if(!gSavedSettings.getBOOL("CurrentlyUsingBakesOnMesh") != newBOMStatus)
|
||||
|
|
|
|||
Loading…
Reference in New Issue