summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpathfindinglinksets.cpp
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2011-12-16 10:15:43 -0800
committerTodd Stinson <stinson@lindenlab.com>2011-12-16 10:15:43 -0800
commitdcd945fc74b57313da96e97f7de4ee0b6b81ef70 (patch)
tree9db01c431537e157c4068db601c555a1e31919be /indra/newview/llfloaterpathfindinglinksets.cpp
parentb793c3aa1986d352cb90994d6d283eab55a7a3ba (diff)
Adding functionality for the linksets button on the console to open the linksets floater.
Diffstat (limited to 'indra/newview/llfloaterpathfindinglinksets.cpp')
-rw-r--r--indra/newview/llfloaterpathfindinglinksets.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpathfindinglinksets.cpp b/indra/newview/llfloaterpathfindinglinksets.cpp
index fcbc3e7cad..4f98834dde 100644
--- a/indra/newview/llfloaterpathfindinglinksets.cpp
+++ b/indra/newview/llfloaterpathfindinglinksets.cpp
@@ -27,8 +27,9 @@
#include "llviewerprecompiledheaders.h"
#include "llfloaterpathfindinglinksets.h"
-
#include "llsd.h"
+#include "llfloater.h"
+#include "llfloaterreg.h"
//---------------------------------------------------------------------------
// LLFloaterPathfindingLinksets
@@ -39,6 +40,11 @@ BOOL LLFloaterPathfindingLinksets::postBuild()
return LLFloater::postBuild();
}
+void LLFloaterPathfindingLinksets::openLinksetsEditor()
+{
+ LLFloaterReg::toggleInstanceOrBringToFront("pathfinding_linksets");
+}
+
LLFloaterPathfindingLinksets::LLFloaterPathfindingLinksets(const LLSD& seed)
: LLFloater(seed)
{