RLVa impl updated to that used in v3. Hooked RLVa restrictions back into wearables. New RLVa floater: 'Locks...' Also updated 'Restrictions...' floater.
This commit is contained in:
@@ -32,6 +32,10 @@
|
||||
#include "lldaycyclemanager.h"
|
||||
#include "lldiriterator.h"
|
||||
|
||||
// [RLVa:KB] - Checked: 2011-09-04 (RLVa-1.4.1a) | Added: RLVa-1.4.1a
|
||||
#include <boost/algorithm/string.hpp>
|
||||
// [/RLVa:KB]
|
||||
|
||||
void LLDayCycleManager::getPresetNames(preset_name_list_t& names) const
|
||||
{
|
||||
names.clear();
|
||||
@@ -62,6 +66,18 @@ void LLDayCycleManager::getPresetNames(preset_name_list_t& user, preset_name_lis
|
||||
}
|
||||
}
|
||||
|
||||
// [RLVa:KB] - Checked: 2011-09-04 (RLVa-1.4.1a) | Added: RLVa-1.4.1a
|
||||
const std::string& LLDayCycleManager::findPreset(const std::string& strPresetName)
|
||||
{
|
||||
for (dc_map_t::const_iterator itCycle = mDayCycleMap.begin(); itCycle != mDayCycleMap.end(); ++itCycle)
|
||||
{
|
||||
if (boost::iequals(itCycle->first, strPresetName))
|
||||
return itCycle->first;
|
||||
}
|
||||
return LLStringUtil::null;
|
||||
}
|
||||
// [/RLVa:KB]
|
||||
|
||||
void LLDayCycleManager::getUserPresetNames(preset_name_list_t& user) const
|
||||
{
|
||||
preset_name_list_t sys; // unused
|
||||
|
||||
Reference in New Issue
Block a user