parent
a2fd2b0109
commit
693753c465
|
|
@ -160,7 +160,7 @@ class RlvWindLight : public LLSingleton<RlvWindLight>
|
|||
{
|
||||
friend class LLSingleton<RlvWindLight>;
|
||||
public:
|
||||
RlvWindLight::RlvWindLight();
|
||||
RlvWindLight();
|
||||
|
||||
std::string getValue(const std::string& strSetting, bool& fError);
|
||||
bool setValue(const std::string& strRlvName, const std::string& strValue);
|
||||
|
|
|
|||
|
|
@ -20,6 +20,9 @@
|
|||
#include <stack>
|
||||
|
||||
#include "rlvcommon.h"
|
||||
#if LL_GNUC
|
||||
#include "rlvhelper.h" // Needed to make GCC happy
|
||||
#endif // LL_GNUC
|
||||
|
||||
// ============================================================================
|
||||
|
||||
|
|
|
|||
|
|
@ -155,8 +155,8 @@ void RlvUIEnabler::onToggleMovement()
|
|||
void RlvUIEnabler::onToggleSetDebug()
|
||||
{
|
||||
bool fEnable = !gRlvHandler.hasBehaviour(RLV_BHVR_SETDEBUG);
|
||||
for (std::map<std::string, S16>::const_iterator itSetting = RlvExtGetSet::m_DbgAllowed.cbegin();
|
||||
itSetting != RlvExtGetSet::m_DbgAllowed.cend(); ++itSetting)
|
||||
for (std::map<std::string, S16>::const_iterator itSetting = RlvExtGetSet::m_DbgAllowed.begin();
|
||||
itSetting != RlvExtGetSet::m_DbgAllowed.end(); ++itSetting)
|
||||
{
|
||||
if (itSetting->second & RlvExtGetSet::DBG_WRITE)
|
||||
gSavedSettings.getControl(itSetting->first)->setHiddenFromSettingsEditor(!fEnable);
|
||||
|
|
|
|||
Loading…
Reference in New Issue