diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2013-08-02 10:51:11 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2013-08-02 10:51:11 -0400 |
commit | acda43ed3881eeab60ee9edfdf76ac8eebd723cc (patch) | |
tree | f59c0d1a12f7a3b0dc14498a9a0f57e2a8f66ef5 /indra/llxml/tests | |
parent | 32a953f65eae51850bad1b2c4c2a63d3dff12a68 (diff) | |
parent | 0906d000b36d4da2116e0b9347a37598c918ce08 (diff) |
CHOP-959: merge --graphicslevel fix up to tip
Diffstat (limited to 'indra/llxml/tests')
-rwxr-xr-x | indra/llxml/tests/llcontrol_test.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llxml/tests/llcontrol_test.cpp b/indra/llxml/tests/llcontrol_test.cpp index ede81956ec..c273773c9b 100755 --- a/indra/llxml/tests/llcontrol_test.cpp +++ b/indra/llxml/tests/llcontrol_test.cpp @@ -128,7 +128,11 @@ namespace tut template<> template<> void control_group_t::test<3>() { - int results = mCG->loadFromFile(mTestConfigFile.c_str()); + // Pass default_values = true. This tells loadFromFile() we're loading + // a default settings file that declares variables, rather than a user + // settings file. When loadFromFile() encounters an unrecognized user + // settings variable, it forcibly preserves it (CHOP-962). + int results = mCG->loadFromFile(mTestConfigFile.c_str(), true); LLControlVariable* control = mCG->getControl("TestSetting"); LLSD new_value = 13; control->setValue(new_value, FALSE); |