summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpathfindingobjects.cpp
diff options
context:
space:
mode:
authorprep <none@none>2012-06-01 16:02:12 -0400
committerprep <none@none>2012-06-01 16:02:12 -0400
commitbf8d3e1d304007cbd2a723808193e172b3e56c8a (patch)
treef7bc68ec2975e7675d30dc0f99ce3720b5c265f6 /indra/newview/llfloaterpathfindingobjects.cpp
parenta8ff37b95609148c60ddda9acfca65b2b89d6b9d (diff)
Migrated restoration of physics capsule into pathing character
Diffstat (limited to 'indra/newview/llfloaterpathfindingobjects.cpp')
-rw-r--r--indra/newview/llfloaterpathfindingobjects.cpp19
1 files changed, 1 insertions, 18 deletions
diff --git a/indra/newview/llfloaterpathfindingobjects.cpp b/indra/newview/llfloaterpathfindingobjects.cpp
index da7c51599f..002849695a 100644
--- a/indra/newview/llfloaterpathfindingobjects.cpp
+++ b/indra/newview/llfloaterpathfindingobjects.cpp
@@ -90,8 +90,7 @@ void LLFloaterPathfindingObjects::onOpen(const LLSD &pKey)
void LLFloaterPathfindingObjects::onClose(bool pIsAppQuitting)
{
- unhideAnyCharacters();
-
+
if (mGodLevelChangeSlot.connected())
{
mGodLevelChangeSlot.disconnect();
@@ -693,19 +692,3 @@ LLPathfindingObjectPtr LLFloaterPathfindingObjects::findObject(const LLScrollLis
return objectPtr;
}
-
-void LLFloaterPathfindingObjects::unhideAnyCharacters( )
-{
- std::vector<LLScrollListItem*> selectedItems = mObjectsScrollList->getAllSelected();
- int numSelectedItems = selectedItems.size();
- uuid_vec_t selectedUUIDs;
- if (numSelectedItems > 0)
- {
- for (std::vector<LLScrollListItem*>::const_iterator itemIter = selectedItems.begin();
- itemIter != selectedItems.end(); ++itemIter)
- {
- const LLScrollListItem *listItem = *itemIter;
- gPipeline.restoreHiddenObject( listItem->getUUID() );
- }
- }
-}