From d7b9af3ab398aedde1229e081c2b245c20a3c6d5 Mon Sep 17 00:00:00 2001 From: prep Date: Wed, 13 Jun 2012 11:08:07 -0400 Subject: path-724: xml navmesh rebake button --- indra/newview/llpathfindingmanager.cpp | 2 +- .../skins/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 (limited to 'indra') diff --git a/indra/newview/llpathfindingmanager.cpp b/indra/newview/llpathfindingmanager.cpp index 6d0629698a..278269b2fa 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("navmesh_rebake_container"); + LLPanel* panel_nmr_container = rootp->getChild("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 0000000000..302b7afe49 --- /dev/null +++ b/indra/newview/skins/default/xui/en/panel_navmesh_rebake.xml @@ -0,0 +1,21 @@ + + +