From f87a967c0deec07a27475fa9e24af6e974f5d058 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Wed, 20 Mar 2013 08:37:06 -0400 Subject: [PATCH] Pathfinding UI: Fix the open with selection via pie menu bug. Also comments out an unnecessary excess call. --- indra/newview/llfloaterpathfindingobjects.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/llfloaterpathfindingobjects.cpp b/indra/newview/llfloaterpathfindingobjects.cpp index bd5cb7bd7..017278719 100644 --- a/indra/newview/llfloaterpathfindingobjects.cpp +++ b/indra/newview/llfloaterpathfindingobjects.cpp @@ -73,7 +73,7 @@ void LLFloaterPathfindingObjects::onOpen(/*const LLSD &pKey*/) { LLFloater::onOpen(/*pKey*/); - selectNoneObjects(); + //selectNoneObjects(); // Singu Note: We call this onClose, we shouldn't need to call this onOpen, in fact this call causes opening with selection to fail mObjectsScrollList->setCommitOnSelectionChange(TRUE); if (!mSelectionUpdateSlot.connected()) @@ -121,7 +121,7 @@ void LLFloaterPathfindingObjects::onClose(bool pIsAppQuitting) if (pIsAppQuitting) { - clearAllObjects(); + //clearAllObjects(); destroy(); } else