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:
Latif Khalifa
2013-06-19 17:37:40 +02:00
parent 859ad8efd8
commit ca42589a82
2 changed files with 7 additions and 1 deletions

View File

@@ -1621,7 +1621,11 @@ void LLViewerRegion::unpackRegionHandshake()
msg->addUUID("AgentID", gAgent.getID());
msg->addUUID("SessionID", gAgent.getSessionID());
msg->nextBlock("RegionInfo");
msg->addU32("Flags", 0x0 );
U32 flags = 0;
flags |= REGION_HANDSHAKE_SUPPORTS_SELF_APPEARANCE;
msg->addU32("Flags", flags );
msg->sendReliable(host);
}

View File

@@ -56,6 +56,8 @@
#define WATER 2
const U32 MAX_OBJECT_CACHE_ENTRIES = 50000;
// Region handshake flags
const U32 REGION_HANDSHAKE_SUPPORTS_SELF_APPEARANCE = 1U << 2;
class LLEventPoll;
class LLVLComposition;