FIRE-10737; Check mCharacter for being not 0 before dereferencing it.
parent
8aa50e8604
commit
b979c5104b
|
|
@ -76,6 +76,11 @@ LLMotion::LLMotionInitStatus LLEmote::onInitialize(LLCharacter *character)
|
|||
//-----------------------------------------------------------------------------
|
||||
BOOL LLEmote::onActivate()
|
||||
{
|
||||
// <FS:ND> mCharacter being 0 might be one of the reasons for FIRE-10737
|
||||
if( !mCharacter )
|
||||
return TRUE;
|
||||
// </FS:ND>
|
||||
|
||||
LLVisualParam* default_param = mCharacter->getVisualParam( "Express_Closed_Mouth" );
|
||||
if( default_param )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue