EXT-7266 FIX change default icon id tofrom object icon to id that comes with message
Reviwed by Igor Borovkov at https://codereview.productengine.com/secondlife/r/371/ --HG-- branch : product-enginemaster
parent
4683283a66
commit
fcea61df76
|
|
@ -326,12 +326,14 @@ void LLNearbyChatToastPanel::draw()
|
|||
if(icon)
|
||||
{
|
||||
icon->setDrawTooltip(mSourceType == CHAT_SOURCE_AGENT);
|
||||
if(mSourceType == CHAT_SOURCE_AGENT)
|
||||
icon->setValue(mFromID);
|
||||
if(mSourceType == CHAT_SOURCE_OBJECT)
|
||||
icon->setValue(LLSD("OBJECT_Icon"));
|
||||
else if(mSourceType == CHAT_SOURCE_SYSTEM)
|
||||
icon->setValue(LLSD("SL_Logo"));
|
||||
else
|
||||
icon->setValue(LLSD("OBJECT_Icon"));
|
||||
else if(mSourceType == CHAT_SOURCE_AGENT)
|
||||
icon->setValue(mFromID);
|
||||
else if(!mFromID.isNull())
|
||||
icon->setValue(mFromID);
|
||||
}
|
||||
mIsDirty = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue