Sync with Upstream Alchemy
Changes LLEnvManagerNew::setRegionChangeCallback to LLAgent::addRegionChangedCallback Cleans up some of the timeout policies that aren't necessary any longer. Modernizes parts of LLViewerKeyboard, updates llregistry.h Begins changeover from LLDynamicArray to std::vector Minor merge of newer, trivial SSA functions. Introduces LLAgent functions: addParcelChangedCallback and canJoinGroups Support for secondlife:///app/appearance SLapps. Cleans up older functions.
This commit is contained in:
@@ -488,12 +488,12 @@ bool RlvUIEnabler::canViewParcelProperties()
|
||||
const LLUUID& idOwner = pParcel->getOwnerID();
|
||||
if ( (idOwner != gAgent.getID()) )
|
||||
{
|
||||
S32 count = gAgent.mGroups.count();
|
||||
S32 count = gAgent.mGroups.size();
|
||||
for (S32 i = 0; i < count; ++i)
|
||||
{
|
||||
if (gAgent.mGroups.get(i).mID == idOwner)
|
||||
if (gAgent.mGroups[i].mID == idOwner)
|
||||
{
|
||||
fShow = ((gAgent.mGroups.get(i).mPowers & GP_LAND_RETURN) > 0);
|
||||
fShow = ((gAgent.mGroups[i].mPowers & GP_LAND_RETURN) > 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user