SH-557 FIX meshes sometimes don't load in a region
Found that we were storing an empty string as a getMesh capability in the case that we checked for the new url before getting the list of caps from the server after a teleport. Made sure we didn't overwrite the caps url until we have the list of caps for the new region after teleport. Will be post-reviewed by davepmeow-7.2.2
parent
d51d294296
commit
53d03606f1
|
|
@ -2299,7 +2299,7 @@ void LLMeshRepository::notifyLoadedMeshes()
|
|||
|
||||
if (gAgent.getRegion())
|
||||
{ //update capability url
|
||||
if (gAgent.getRegion()->getName() != region_name)
|
||||
if (gAgent.getRegion()->getName() != region_name && gAgent.getRegion()->capabilitiesReceived())
|
||||
{
|
||||
region_name = gAgent.getRegion()->getName();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue