ReSit added, channel in dialog messaged added, local teleports have no delay after teleporting, message log crash fixed, hopefully...
This commit is contained in:
@@ -2478,7 +2478,26 @@ U32 LLVOAvatar::processUpdateMessage(LLMessageSystem *mesgsys,
|
||||
|
||||
//llinfos << getRotation() << llendl;
|
||||
//llinfos << getPosition() << llendl;
|
||||
|
||||
// <edit>
|
||||
if (update_type == OUT_FULL )
|
||||
{
|
||||
|
||||
if(mIsSelf)
|
||||
{
|
||||
if(gSavedSettings.getBOOL("ReSit"))
|
||||
{
|
||||
gMessageSystem->newMessageFast(_PREHASH_AgentRequestSit);
|
||||
gMessageSystem->nextBlockFast(_PREHASH_AgentData);
|
||||
gMessageSystem->addUUIDFast(_PREHASH_AgentID, gAgent.getID());
|
||||
gMessageSystem->addUUIDFast(_PREHASH_SessionID, gAgent.getSessionID());
|
||||
gMessageSystem->nextBlockFast(_PREHASH_TargetObject);
|
||||
gMessageSystem->addUUIDFast(_PREHASH_TargetID, gReSitTargetID);
|
||||
gMessageSystem->addVector3Fast(_PREHASH_Offset, gReSitOffset);
|
||||
gAgent.getRegion()->sendReliableMessage();
|
||||
}
|
||||
}
|
||||
}
|
||||
// </edit>
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user