- fixed : silly GCC compiler warnings (thankies Satomi and Arrehn)
--HG-- branch : RLVamaster
parent
8589faf1aa
commit
d47980b3d7
|
|
@ -1224,6 +1224,9 @@ void RlvFolderLocks::refreshLockedLookups() const
|
|||
case LLAssetType::AT_OBJECT:
|
||||
m_LockedAttachmentRem.push_back(pItem->getLinkedUUID());
|
||||
break;
|
||||
default:
|
||||
RLV_ASSERT(true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -624,9 +624,9 @@ inline bool RlvFolderLocks::canRenameFolder(const LLUUID& idFolder) const
|
|||
// Block renaming a folder if:
|
||||
// - the folder (or one of its descendents) is explicitly locked by:
|
||||
// -> a "shared path" => renaming the folder would change the shared path and hence invalidate the lock
|
||||
// -> an attachment point \
|
||||
// -> an attachment point -|
|
||||
// -> an attachment |--> renaming the folder to a "dot" (=invisible) folder would invalidate the lock
|
||||
// -> a wearable type /
|
||||
// -> a wearable type -|
|
||||
return !hasLockedFolderDescendent(idFolder, ST_SHAREDPATH | ST_ATTACHMENT | ST_ATTACHMENTPOINT | ST_WEARABLETYPE, PERM_MASK_ANY, RLV_LOCK_ANY, true);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -364,7 +364,7 @@ void RlvUIEnabler::onToggleShowMinimap()
|
|||
RLV_ASSERT( (pPeoplePanel) && (pNetMapPanel) );
|
||||
if (pNetMapPanel)
|
||||
{
|
||||
pNetMapPanel->setMakeVisibleControlVariable( (fEnable) ? gSavedSettings.getControl("NearbyListShowMap") : NULL);
|
||||
pNetMapPanel->setMakeVisibleControlVariable( (fEnable) ? gSavedSettings.getControl("NearbyListShowMap").get() : NULL);
|
||||
// Reestablishing the visiblity connection will show the panel if needed so we only need to take care of hiding it when needed
|
||||
if ( (!fEnable) && (pNetMapPanel->getVisible()) )
|
||||
pNetMapPanel->setVisible(false);
|
||||
|
|
|
|||
Loading…
Reference in New Issue