diff options
| author | prep <none@none> | 2012-03-13 15:48:24 -0400 |
|---|---|---|
| committer | prep <none@none> | 2012-03-13 15:48:24 -0400 |
| commit | fab57eea612f34ed9d8c8559674ead1760aab42b (patch) | |
| tree | 51394d44e1b89bb75d168464aec539f60f44f8cd /indra/newview/llpanelface.cpp | |
| parent | 87b414c4934d0d52eef0b323245568bb1e95ec70 (diff) | |
| parent | 00717147d2b832fa3239267edf409f0a1dfcd9fd (diff) | |
pull and merge from viewer-development
Diffstat (limited to 'indra/newview/llpanelface.cpp')
| -rw-r--r-- | indra/newview/llpanelface.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index a4f6921f98..7301b305b2 100644 --- a/indra/newview/llpanelface.cpp +++ b/indra/newview/llpanelface.cpp @@ -875,8 +875,15 @@ void LLPanelFace::getState() { getChild<LLUICtrl>("TexScaleU")->setValue(2.0f * getChild<LLUICtrl>("TexScaleU")->getValue().asReal() ); getChild<LLUICtrl>("TexScaleV")->setValue(2.0f * getChild<LLUICtrl>("TexScaleV")->getValue().asReal() ); - } + // EXP-1507 (change label based on the mapping mode) + getChild<LLUICtrl>("rpt")->setValue(getString("string repeats per meter")); + } + else + if (selected_texgen == 0) // FIXME: should not be magic numbers + { + getChild<LLUICtrl>("rpt")->setValue(getString("string repeats per face")); + } } { |
