EXP-1507 FIX Viewer 3 displays planar texture repeat values in Build floater asdouble

meow-7.2.2
callum 2012-01-19 17:06:44 -08:00
parent c437c3b5b5
commit 3e06171eff
1 changed files with 8 additions and 1 deletions

View File

@ -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"));
}
}
{