viewer#2006 Fixed terrain textures not updating in the "Region/Estate" floater
parent
27a2531c5b
commit
c8310aaea2
|
|
@ -3147,6 +3147,13 @@ void LLViewerRegion::unpackRegionHandshake()
|
|||
compp->setParamsReady();
|
||||
}
|
||||
|
||||
std::string cap = getCapability("ModifyRegion"); // needed for queueQuery
|
||||
if (cap.empty())
|
||||
{
|
||||
LLFloaterRegionInfo::sRefreshFromRegion(this);
|
||||
}
|
||||
else
|
||||
{
|
||||
LLPBRTerrainFeatures::queueQuery(*this, [](LLUUID region_id, bool success, const LLModifyRegion& composition_changes)
|
||||
{
|
||||
if (!success) { return; }
|
||||
|
|
@ -3158,6 +3165,7 @@ void LLViewerRegion::unpackRegionHandshake()
|
|||
LLFloaterRegionInfo::sRefreshFromRegion(region);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Now that we have the name, we can load the cache file
|
||||
|
|
|
|||
Loading…
Reference in New Issue