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

path-722: Make sure to remove the bake navmesh button if the pathingfinding console is closed.

parent 9767b5a0
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,7 @@
#include "pipeline.h"
#include "llpathinglib.h"
#include "llviewerparcelmgr.h"
#include "llpanelnavmeshrebake.h"
#define XUI_RENDER_HEATMAP_NONE 0
#define XUI_RENDER_HEATMAP_A 1
......@@ -264,6 +265,9 @@ void LLFloaterPathfindingConsole::onClose(bool pIsAppQuitting)
setDefaultInputs();
setConsoleState(kConsoleStateUnknown);
cleanupRenderableRestoreItems();
LLPanelNavMeshRebake* pPanelNavMeshRebake = LLPanelNavMeshRebake::getInstance();
if ( pPanelNavMeshRebake ) { pPanelNavMeshRebake->setVisible( FALSE ); }
LLFloater::onClose(pIsAppQuitting);
}
......
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