LLSliderCtrl callbacks actually get the child LLSlider object, not the LLSliderCtrl object.

This commit is contained in:
Shyotl
2013-04-18 15:54:05 -05:00
parent 110f502960
commit 0261f13670

View File

@@ -885,7 +885,7 @@ void LLPanelDisplay::apply()
void LLPanelDisplay::onChangeQuality(LLUICtrl* caller)
{
LLSliderCtrl* sldr = static_cast<LLSliderCtrl*>(caller);
LLSlider* sldr = dynamic_cast<LLSlider*>(caller);
if(sldr == NULL)
{