Skip to content
Snippets Groups Projects
Commit d7b9af3a authored by prep's avatar prep
Browse files

path-724: xml navmesh rebake button

parent de1e1db9
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
<?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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment