Compile fixies~
This commit is contained in:
@@ -457,7 +457,7 @@ public:
|
||||
mDataEnd = NULL;
|
||||
}
|
||||
|
||||
notifyRemoval(data);
|
||||
this->notifyRemoval(data);
|
||||
checkAlive();
|
||||
}
|
||||
|
||||
|
||||
@@ -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[buf][elem] = value;
|
||||
mSelectedEffectInfo[static_cast<const char*>(buf)][elem] = value;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -149,7 +149,7 @@ public:
|
||||
inline LLSD const & getSelectedEffectInfo(void) const { return mSelectedEffectInfo; }
|
||||
// Setters
|
||||
void setSelectedEffect(std::string const & effectName);
|
||||
void setSelectedEffectValue(std::string const & setting, LLSD& value);
|
||||
void setSelectedEffectValue(std::string const & setting, LLSD value);
|
||||
void resetSelectedEffect();
|
||||
void saveEffectAs(std::string const & effectName);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user