SH-4274 FIX Adding RegionHandshakeReply flags for SSA
Adding a flag to hint to the sim that this viewer knows how to handle
AvatarAppearance messages for self in SSA-enabled regions.
Upstream patch: 5fdc790f6d
This commit is contained in:
@@ -1621,7 +1621,11 @@ void LLViewerRegion::unpackRegionHandshake()
|
|||||||
msg->addUUID("AgentID", gAgent.getID());
|
msg->addUUID("AgentID", gAgent.getID());
|
||||||
msg->addUUID("SessionID", gAgent.getSessionID());
|
msg->addUUID("SessionID", gAgent.getSessionID());
|
||||||
msg->nextBlock("RegionInfo");
|
msg->nextBlock("RegionInfo");
|
||||||
msg->addU32("Flags", 0x0 );
|
|
||||||
|
U32 flags = 0;
|
||||||
|
flags |= REGION_HANDSHAKE_SUPPORTS_SELF_APPEARANCE;
|
||||||
|
|
||||||
|
msg->addU32("Flags", flags );
|
||||||
msg->sendReliable(host);
|
msg->sendReliable(host);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -56,6 +56,8 @@
|
|||||||
#define WATER 2
|
#define WATER 2
|
||||||
const U32 MAX_OBJECT_CACHE_ENTRIES = 50000;
|
const U32 MAX_OBJECT_CACHE_ENTRIES = 50000;
|
||||||
|
|
||||||
|
// Region handshake flags
|
||||||
|
const U32 REGION_HANDSHAKE_SUPPORTS_SELF_APPEARANCE = 1U << 2;
|
||||||
|
|
||||||
class LLEventPoll;
|
class LLEventPoll;
|
||||||
class LLVLComposition;
|
class LLVLComposition;
|
||||||
|
|||||||
Reference in New Issue
Block a user