summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpathfindinglinksets.cpp
diff options
context:
space:
mode:
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)
{