From 15d74dc41af3474f4d513fa0c9bf592675557af6 Mon Sep 17 00:00:00 2001 From: CharleyLevenque Date: Thu, 26 Aug 2010 02:59:08 -0400 Subject: [PATCH] Shitty code ahoy. Fixed. --- indra/newview/llinventorybridge.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 7b8dc875d..d2a6db6a9 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -96,8 +96,6 @@ #include "llfloateranimpreview.h" // for reuploads #include "llfloaterimagepreview.h" // for reuploads #include "llimportobject.h" // for disabling options during import -#include "llviewerparcelmgr.h" // FOR SEXING. -#include "llparcel.h" // WOAH, EVEN MORE SEX //#include "llcheats.h" #include "dofloaterhex.h" #include "hgfloatertexteditor.h" @@ -1032,17 +1030,6 @@ void LLItemBridge::restoreToWorld() msg->addUUIDFast(_PREHASH_AgentID, gAgent.getID()); msg->addUUIDFast(_PREHASH_SessionID, gAgent.getSessionID()); - // Alway rez objects as land group if available. - if (gSavedSettings.getBOOL("AscentAlwaysRezInGroup")) - { - LLParcel *parcel = LLViewerParcelMgr::getInstance()->getAgentParcel(); - if(gAgent.isInGroup(parcel->getGroupID())) - msg->addUUIDFast(_PREHASH_GroupID, parcel->getGroupID()); - else if(gAgent.isInGroup(parcel->getOwnerID())) - msg->addUUIDFast(_PREHASH_GroupID, parcel->getOwnerID()); - else msg->addUUIDFast(_PREHASH_GroupID, gAgent.getGroupID()); - } else msg->addUUIDFast(_PREHASH_GroupID, gAgent.getGroupID()); - msg->nextBlockFast(_PREHASH_InventoryData); itemp->packMessage(msg); msg->sendReliable(gAgent.getRegion()->getHost());