From 73fedf453c7f23a4231f39bfb6545b8ac474ebdf Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Wed, 1 Aug 2012 09:13:40 -0400 Subject: [PATCH 1/2] Compile fixies~ --- indra/llmath/lloctree.h | 2 +- indra/llrender/llpostprocess.cpp | 4 ++-- indra/llrender/llpostprocess.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/indra/llmath/lloctree.h b/indra/llmath/lloctree.h index 07ca00913..cc1482b18 100644 --- a/indra/llmath/lloctree.h +++ b/indra/llmath/lloctree.h @@ -457,7 +457,7 @@ public: mDataEnd = NULL; } - notifyRemoval(data); + this->notifyRemoval(data); checkAlive(); } diff --git a/indra/llrender/llpostprocess.cpp b/indra/llrender/llpostprocess.cpp index e09d0f349..dd54b8b6c 100644 --- a/indra/llrender/llpostprocess.cpp +++ b/indra/llrender/llpostprocess.cpp @@ -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(buf)][elem] = value; } else { diff --git a/indra/llrender/llpostprocess.h b/indra/llrender/llpostprocess.h index 830598a92..ec076842d 100644 --- a/indra/llrender/llpostprocess.h +++ b/indra/llrender/llpostprocess.h @@ -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); }; From be8b838334cba53542e67e436814f3c56192f3c9 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Wed, 1 Aug 2012 09:21:38 -0400 Subject: [PATCH 2/2] Make new Posterize Effect fit in with the cleaned look of post-process floater. --- .../xui/en-us/floater_post_process.xml | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/indra/newview/skins/default/xui/en-us/floater_post_process.xml b/indra/newview/skins/default/xui/en-us/floater_post_process.xml index 8280d1f84..12e3d8ad6 100644 --- a/indra/newview/skins/default/xui/en-us/floater_post_process.xml +++ b/indra/newview/skins/default/xui/en-us/floater_post_process.xml @@ -146,25 +146,25 @@ left="14" max_val="1" min_val="0" mouse_opaque="true" name="noise_strength" show_text="true" value="1.0" width="220" /> - - - - Layer Count - - - + + + + Layer Count + + +