Fixed line endings.
parent
85fb073b33
commit
ea8f4419ad
|
|
@ -1225,19 +1225,19 @@ void LLToolDragAndDrop::dropObject(LLViewerObject* raycast_target,
|
|||
msg->nextBlockFast(_PREHASH_AgentData);
|
||||
msg->addUUIDFast(_PREHASH_AgentID, gAgent.getID());
|
||||
msg->addUUIDFast(_PREHASH_SessionID, gAgent.getSessionID());
|
||||
LLUUID group_id = gAgent.getGroupID();
|
||||
if (gSavedSettings.getBOOL("RezUnderLandGroup"))
|
||||
{
|
||||
LLParcel *parcel = LLViewerParcelMgr::getInstance()->getAgentParcel();
|
||||
if (gAgent.isInGroup(parcel->getGroupID()))
|
||||
{
|
||||
group_id = parcel->getGroupID();
|
||||
}
|
||||
else if (gAgent.isInGroup(parcel->getOwnerID()))
|
||||
{
|
||||
group_id = parcel->getOwnerID();
|
||||
}
|
||||
}
|
||||
LLUUID group_id = gAgent.getGroupID();
|
||||
if (gSavedSettings.getBOOL("RezUnderLandGroup"))
|
||||
{
|
||||
LLParcel *parcel = LLViewerParcelMgr::getInstance()->getAgentParcel();
|
||||
if (gAgent.isInGroup(parcel->getGroupID()))
|
||||
{
|
||||
group_id = parcel->getGroupID();
|
||||
}
|
||||
else if (gAgent.isInGroup(parcel->getOwnerID()))
|
||||
{
|
||||
group_id = parcel->getOwnerID();
|
||||
}
|
||||
}
|
||||
msg->addUUIDFast(_PREHASH_GroupID, group_id);
|
||||
|
||||
msg->nextBlock("RezData");
|
||||
|
|
|
|||
Loading…
Reference in New Issue