CID-206
Checker: REVERSE_INULL Function: LLMultiSliderCtrl::onEditorCommit(LLUICtrl *, const LLSD &) File: /indra/llui/llmultisliderctrl.cppmeow-7.2.2
parent
a0c57cbb82
commit
cf69f03af1
|
|
@ -330,13 +330,14 @@ void LLMultiSliderCtrl::updateText()
|
|||
// static
|
||||
void LLMultiSliderCtrl::onEditorCommit( LLUICtrl* ctrl, const LLSD& userdata)
|
||||
{
|
||||
llassert(ctrl);
|
||||
if (!ctrl)
|
||||
return;
|
||||
|
||||
LLMultiSliderCtrl* self = dynamic_cast<LLMultiSliderCtrl*>(ctrl->getParent());
|
||||
llassert(self);
|
||||
if (!self) // cast failed - wrong type! :O
|
||||
return;
|
||||
|
||||
if (!ctrl)
|
||||
return;
|
||||
|
||||
BOOL success = FALSE;
|
||||
F32 val = self->mCurValue;
|
||||
|
|
|
|||
Loading…
Reference in New Issue