diff options
Diffstat (limited to '')
-rw-r--r-- | ChangeLog.txt | 8 | ||||
-rw-r--r-- | linden/indra/llxml/llcontrol.cpp | 15 |
2 files changed, 22 insertions, 1 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 827ab39..c4bb418 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -207,6 +207,14 @@ | |||
207 | 207 | ||
208 | modified: linden/indra/newview/skins/default/xui/en-us/panel_login.xml | 208 | modified: linden/indra/newview/skins/default/xui/en-us/panel_login.xml |
209 | 209 | ||
210 | 2010-02-05 Armin Weatherwax <Armin.Weatherwax@gmail.com> | ||
211 | |||
212 | * Ignore HideFromEditor from settings.xml. | ||
213 | Don't hide any settings from Debug Settings. | ||
214 | |||
215 | modified: linden/indra/llxml/llcontrol.cpp | ||
216 | |||
217 | |||
210 | 2010-02-04 Jacek Antonelli <jacek.antonelli@gmail.com> | 218 | 2010-02-04 Jacek Antonelli <jacek.antonelli@gmail.com> |
211 | 219 | ||
212 | * Added SliderScrollWheelMultiplier setting. | 220 | * Added SliderScrollWheelMultiplier setting. |
diff --git a/linden/indra/llxml/llcontrol.cpp b/linden/indra/llxml/llcontrol.cpp index 8bd04d7..88eb2c3 100644 --- a/linden/indra/llxml/llcontrol.cpp +++ b/linden/indra/llxml/llcontrol.cpp | |||
@@ -216,7 +216,8 @@ void LLControlVariable::setPersist(bool state) | |||
216 | 216 | ||
217 | void LLControlVariable::setHiddenFromSettingsEditor(bool hide) | 217 | void LLControlVariable::setHiddenFromSettingsEditor(bool hide) |
218 | { | 218 | { |
219 | mHideFromSettingsEditor = hide; | 219 | // mHideFromSettingsEditor = hide; //no, not really |
220 | mHideFromSettingsEditor = false; | ||
220 | } | 221 | } |
221 | 222 | ||
222 | void LLControlVariable::setComment(const std::string& comment) | 223 | void LLControlVariable::setComment(const std::string& comment) |
@@ -1077,6 +1078,17 @@ U32 LLControlGroup::loadFromFile(const std::string& filename, bool set_default_v | |||
1077 | // Sometimes we want to use the settings system to provide cheap persistence, but we | 1078 | // Sometimes we want to use the settings system to provide cheap persistence, but we |
1078 | // don't want the settings themselves to be easily manipulated in the UI because | 1079 | // don't want the settings themselves to be easily manipulated in the UI because |
1079 | // doing so can cause support problems. So we have this option: | 1080 | // doing so can cause support problems. So we have this option: |
1081 | |||
1082 | // To actually only hide adult settings and the world search url. | ||
1083 | // Upside of the latter is that it also makes it harder to use the viewer with OpenSim. | ||
1084 | // And teenagers never would dare ever to touch the settings.xml file. | ||
1085 | // | ||
1086 | // For it's anyway useful to be able to change them we should add in future | ||
1087 | // a possibility to unhide them again, e.g. typing "I'm up to no good" to channel 666, | ||
1088 | // tripple-rightclick the avatars nose and then play a "I will tell your MUM that you | ||
1089 | // changed ADULT setting in the DEBUG MENU!" gesture in world. | ||
1090 | // | ||
1091 | /* | ||
1080 | if(control_map.has("HideFromEditor")) | 1092 | if(control_map.has("HideFromEditor")) |
1081 | { | 1093 | { |
1082 | hidefromsettingseditor = control_map["HideFromEditor"].asInteger(); | 1094 | hidefromsettingseditor = control_map["HideFromEditor"].asInteger(); |
@@ -1085,6 +1097,7 @@ U32 LLControlGroup::loadFromFile(const std::string& filename, bool set_default_v | |||
1085 | { | 1097 | { |
1086 | hidefromsettingseditor = false; | 1098 | hidefromsettingseditor = false; |
1087 | } | 1099 | } |
1100 | */ | ||
1088 | 1101 | ||
1089 | // If the control exists just set the value from the input file. | 1102 | // If the control exists just set the value from the input file. |
1090 | LLControlVariable* existing_control = getControl(name); | 1103 | LLControlVariable* existing_control = getControl(name); |