From d7b9af3ab398aedde1229e081c2b245c20a3c6d5 Mon Sep 17 00:00:00 2001
From: prep <none@none>
Date: Wed, 13 Jun 2012 11:08:07 -0400
Subject: [PATCH] path-724: xml navmesh rebake button

---
 indra/newview/llpathfindingmanager.cpp        |  2 +-
 .../default/xui/en/panel_navmesh_rebake.xml   | 21 +++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)
 create mode 100644 indra/newview/skins/default/xui/en/panel_navmesh_rebake.xml

diff --git a/indra/newview/llpathfindingmanager.cpp b/indra/newview/llpathfindingmanager.cpp
index 6d0629698ac..278269b2fac 100644
--- a/indra/newview/llpathfindingmanager.cpp
+++ b/indra/newview/llpathfindingmanager.cpp
@@ -318,7 +318,7 @@ void LLPathfindingManager::requestGetNavMeshForRegion(LLViewerRegion *pRegion)
 	LLPathfindingNavMeshPtr navMeshPtr = getNavMeshForRegion(pRegion);
 	//prep#s#test
 	LLView* rootp = LLUI::getRootView();
- 	LLPanel* panel_nmr_container = rootp->getChild<LLPanel>("navmesh_rebake_container");
+	LLPanel* panel_nmr_container = rootp->getChild<LLPanel>("navmesh_rebake_container");
 	LLPanelNavMeshRebake* panel_namesh_rebake = LLPanelNavMeshRebake::getInstance();
 	panel_nmr_container->addChild( panel_namesh_rebake );
 	panel_nmr_container->setVisible( TRUE );
diff --git a/indra/newview/skins/default/xui/en/panel_navmesh_rebake.xml b/indra/newview/skins/default/xui/en/panel_navmesh_rebake.xml
new file mode 100644
index 00000000000..302b7afe493
--- /dev/null
+++ b/indra/newview/skins/default/xui/en/panel_navmesh_rebake.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
+<panel
+ height="25"
+ layout="topleft"
+ name="panel_navmesh_rebake"
+ mouse_opaque="false"
+ visible="true"
+ width="133">
+    <button
+     follows="left|bottom"
+     height="19"
+     label="NavMeshRebake"
+     layout="topleft"
+     left="10"
+     name="navmesh_btn"
+     tool_tip="Click here to rebake."
+     top="2"
+     visible="false"
+     width="113" />
+</panel>
+
-- 
GitLab