BUG-10466: Default creation permissions changes for objects don't work until you relog; Also set cap sent = true only on success so we automatically retry on region change

meow-7.2.2
Ansariel 2015-10-13 09:28:11 +02:00
parent 63d9e503a4
commit fd4da22ed6
1 changed files with 8 additions and 1 deletions

View File

@ -243,6 +243,12 @@ void LLFloaterPermsResponder::httpSuccess()
// even if it is the same as a previous one.
sPreviousReason = "";
LL_INFOS("ObjectPermissionsFloater") << "Default permissions successfully sent to simulator" << LL_ENDL;
// <FS:Ansariel> Set cap sent = true only on success to allow re-transmit on region change
LLFloaterPermsDefault::setCapSent(true);
// <FS:Ansariel> BUG-10466: Default creation permissions changes for objects don't work until you relog
LLFloaterPermsRequester::finalize();
}
std::string LLFloaterPermsResponder::sPreviousReason;
@ -255,7 +261,8 @@ void LLFloaterPermsDefault::sendInitialPerms()
// </FS:Ansariel>
{
updateCap();
setCapSent(true);
// <FS:Ansariel> Set cap sent = true only on success to allow re-transmit on region change
//setCapSent(true);
}
}