Merge branch 'future' of git://github.com/Lirusaito/SingularityViewer

Conflicts:
	indra/llrender/llpostprocess.cpp
This commit is contained in:
Lirusaito
2012-08-10 23:39:06 -04:00
3 changed files with 22 additions and 22 deletions

View File

@@ -565,13 +565,13 @@ void LLPostProcess::setSelectedEffect(std::string const & effectName)
}
}
void LLPostProcess::setSelectedEffectValue(std::string const & setting, LLSD& value)
void LLPostProcess::setSelectedEffectValue(std::string const & setting, LLSD value)
{
char buf[256];
S32 elem=0;
if(sscanf(setting.c_str(),"%255[^[][%d]", buf, &elem) == 2)
{
mSelectedEffectInfo[std::string(buf)][elem] = value;
mSelectedEffectInfo[static_cast<const char*>(buf)][elem] = value;
}
else
{