MAINT-6970 FIXED Crash in LLFloaterPermsDefault::updateCap()
parent
c9e2432650
commit
8c79214f0b
|
|
@ -190,6 +190,11 @@ void LLFloaterPermsDefault::sendInitialPerms()
|
|||
|
||||
void LLFloaterPermsDefault::updateCap()
|
||||
{
|
||||
if (!gAgent.getRegion())
|
||||
{
|
||||
LL_WARNS("Avatar") << "Region not set, cannot request capability update" << LL_ENDL;
|
||||
return;
|
||||
}
|
||||
std::string object_url = gAgent.getRegion()->getCapability("AgentPreferences");
|
||||
|
||||
if(!object_url.empty())
|
||||
|
|
|
|||
Loading…
Reference in New Issue