Silence 'getCapability called before caps received for' console spam when fetching mesh. TODO: Check if a proper workaround is available in V3, as I worry that some meshes that failed the caps check may not get promptly re-generated upon caps receipt.
This commit is contained in:
@@ -2315,7 +2315,11 @@ bool LLViewerRegion::meshUploadEnabled() const
|
|||||||
|
|
||||||
bool LLViewerRegion::meshRezEnabled() const
|
bool LLViewerRegion::meshRezEnabled() const
|
||||||
{
|
{
|
||||||
if (getCapability("SimulatorFeatures").empty())
|
if (!capabilitiesReceived())
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else if (getCapability("SimulatorFeatures").empty())
|
||||||
{
|
{
|
||||||
return !getCapability("GetMesh").empty() || !getCapability("GetMesh2").empty();
|
return !getCapability("GetMesh").empty() || !getCapability("GetMesh2").empty();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user