Merge branch 'master' of git://github.com/siana/SingularityViewer

This commit is contained in:
Inusaito Sayori
2011-12-24 23:39:41 -05:00
8 changed files with 20 additions and 59 deletions

View File

@@ -120,7 +120,7 @@ void LLFloaterPostProcess::onControlChanged(LLUICtrl* ctrl, void* userData)
S32 elem=0;
if(sscanf(VariableName,"%255[^[][%d]", buf, &elem) == 2)
{
LLPostProcess::getInstance()->tweaks[buf][elem] = ctrl->getValue();
LLPostProcess::getInstance()->tweaks[(const char*)buf][elem] = ctrl->getValue();
}
else
{