path-722: Make sure to remove the bake navmesh button if the pathingfinding console is closed.
parent
9767b5a026
commit
76f7c0e58c
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue