Hide "Notes" indicator in radar if RLVa shownames restriction is set
parent
0cbfb124ac
commit
2c8a62a6aa
|
|
@ -509,10 +509,10 @@ void FSRadar::updateRadarList()
|
|||
entry["range"] = (avRange > AVATAR_UNKNOWN_RANGE ? llformat("%3.2f", avRange) : llformat(">%3.2f", drawRadius));
|
||||
entry["typing"] = (avVo && avVo->isTyping());
|
||||
entry["sitting"] = (avVo && (avVo->getParent() || avVo->isMotionActive(ANIM_AGENT_SIT_GROUND) || avVo->isMotionActive(ANIM_AGENT_SIT_GROUND_CONSTRAINED)));
|
||||
entry["has_notes"] = ent->hasNotes();
|
||||
|
||||
if (!gRlvHandler.hasBehaviour(RLV_BHVR_SHOWNAMES))
|
||||
{
|
||||
entry["has_notes"] = ent->hasNotes();
|
||||
entry["age"] = (avAge > -1 ? llformat("%d", avAge) : "");
|
||||
if (ent->hasAlertAge())
|
||||
{
|
||||
|
|
@ -531,6 +531,7 @@ void FSRadar::updateRadarList()
|
|||
}
|
||||
else
|
||||
{
|
||||
entry["has_notes"] = false;
|
||||
entry["age"] = "---";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue