From beadc65fe4dd40a01069eb3d29659d1b06f6d746 Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Wed, 1 Feb 2012 18:14:04 -0800 Subject: Renaming the XUI files for the pathfinding console to setup. --- indra/newview/app_settings/commands.xml | 6 +- indra/newview/llviewerfloaterreg.cpp | 2 +- indra/newview/llviewerwindow.cpp | 2 +- .../default/xui/en/floater_pathfinding_console.xml | 466 --------------------- .../default/xui/en/floater_pathfinding_setup.xml | 466 +++++++++++++++++++++ indra/newview/skins/default/xui/en/menu_viewer.xml | 2 +- 6 files changed, 472 insertions(+), 472 deletions(-) delete mode 100644 indra/newview/skins/default/xui/en/floater_pathfinding_console.xml create mode 100644 indra/newview/skins/default/xui/en/floater_pathfinding_setup.xml (limited to 'indra') diff --git a/indra/newview/app_settings/commands.xml b/indra/newview/app_settings/commands.xml index 22dc336399..7d42f237b1 100644 --- a/indra/newview/app_settings/commands.xml +++ b/indra/newview/app_settings/commands.xml @@ -155,15 +155,15 @@ is_running_function="Floater.IsOpen" is_running_parameters="people" /> - ); LLFloaterPayUtil::registerFloater(); - LLFloaterReg::add("pathfinding_console", "floater_pathfinding_console.xml", (LLFloaterBuildFunc)&LLFloaterReg::build); LLFloaterReg::add("pathfinding_linksets", "floater_pathfinding_linksets.xml", (LLFloaterBuildFunc)&LLFloaterReg::build); + LLFloaterReg::add("pathfinding_setup", "floater_pathfinding_setup.xml", (LLFloaterBuildFunc)&LLFloaterReg::build); LLFloaterReg::add("people", "floater_people.xml", (LLFloaterBuildFunc)&LLFloaterReg::build); LLFloaterReg::add("places", "floater_places.xml", (LLFloaterBuildFunc)&LLFloaterReg::build); LLFloaterReg::add("preferences", "floater_preferences.xml", (LLFloaterBuildFunc)&LLFloaterReg::build); diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index a513dcc65e..487f849ada 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -964,7 +964,7 @@ BOOL LLViewerWindow::handleAnyMouseClick(LLWindow *window, LLCoordGL pos, MASK MASK currentKeyMask = gKeyboard->currentMask(TRUE); if ( !(currentKeyMask & MASK_ALT) ) { - LLFloaterPathfindingSetup* pFloater = LLFloaterReg::getTypedInstance("pathfinding_console"); + LLFloaterPathfindingSetup* pFloater = LLFloaterReg::getTypedInstance("pathfinding_setup"); if ( pFloater ) { //The floater takes care of determining what stage - essentially where the data goes into the pathing packet(start or end) diff --git a/indra/newview/skins/default/xui/en/floater_pathfinding_console.xml b/indra/newview/skins/default/xui/en/floater_pathfinding_console.xml deleted file mode 100644 index 7b751d525f..0000000000 --- a/indra/newview/skins/default/xui/en/floater_pathfinding_console.xml +++ /dev/null @@ -1,466 +0,0 @@ - - - - Downloading the navmesh ... - Navmesh received. - No navmesh for region. - Pathfinding is not enabled for this region. - Cannot find pathing library implementation. - - Show overlays: - - - - - - - Overlay on: - - - - - - - -Click on two points -to see the path between them. - - - - - - - Character width - - - - m - - - Character type - - - - - - - - - - - - View / edit linkset attributes: - -