| 52 |
#include "lltoolmgr.h" |
#include "lltoolmgr.h" |
| 53 |
#include "llviewerobject.h" |
#include "llviewerobject.h" |
| 54 |
#include "llviewerregion.h" |
#include "llviewerregion.h" |
| 55 |
|
#include "llparcel.h" |
| 56 |
|
#include "llviewerparcelmgr.h" |
| 57 |
#include "llviewerwindow.h" |
#include "llviewerwindow.h" |
| 58 |
#include "llworld.h" |
#include "llworld.h" |
| 59 |
#include "llui.h" |
#include "llui.h" |
| 252 |
gMessageSystem->nextBlockFast(_PREHASH_AgentData); |
gMessageSystem->nextBlockFast(_PREHASH_AgentData); |
| 253 |
gMessageSystem->addUUIDFast(_PREHASH_AgentID, gAgent.getID()); |
gMessageSystem->addUUIDFast(_PREHASH_AgentID, gAgent.getID()); |
| 254 |
gMessageSystem->addUUIDFast(_PREHASH_SessionID, gAgent.getSessionID()); |
gMessageSystem->addUUIDFast(_PREHASH_SessionID, gAgent.getSessionID()); |
| 255 |
gMessageSystem->addUUIDFast(_PREHASH_GroupID, gAgent.getGroupID()); |
LLUUID group_id = gAgent.getGroupID(); |
| 256 |
|
if (gSavedSettings.getBOOL("RezWithLandGroup")) |
| 257 |
|
{ |
| 258 |
|
LLParcel *parcel = LLViewerParcelMgr::getInstance()->getAgentParcel(); |
| 259 |
|
if (gAgent.isInGroup(parcel->getGroupID())) |
| 260 |
|
{ |
| 261 |
|
group_id = parcel->getGroupID(); |
| 262 |
|
} |
| 263 |
|
else if (gAgent.isInGroup(parcel->getOwnerID())) |
| 264 |
|
{ |
| 265 |
|
group_id = parcel->getOwnerID(); |
| 266 |
|
} |
| 267 |
|
} |
| 268 |
|
gMessageSystem->addUUIDFast(_PREHASH_GroupID, group_id); |
| 269 |
gMessageSystem->nextBlockFast(_PREHASH_ObjectData); |
gMessageSystem->nextBlockFast(_PREHASH_ObjectData); |
| 270 |
gMessageSystem->addU8Fast(_PREHASH_Material, material); |
gMessageSystem->addU8Fast(_PREHASH_Material, material); |
| 271 |
|
|