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

path-396: rendering options are reset when pathing window is closed.

parent e558f5cb
No related branches found
No related tags found
No related merge requests found
...@@ -207,6 +207,13 @@ void LLFloaterPathfindingConsole::onClose(bool pIsAppQuitting) ...@@ -207,6 +207,13 @@ void LLFloaterPathfindingConsole::onClose(bool pIsAppQuitting)
LLFloater::onClose(pIsAppQuitting); LLFloater::onClose(pIsAppQuitting);
setHeartBeat( false ); setHeartBeat( false );
setConsoleState(kConsoleStateUnknown); setConsoleState(kConsoleStateUnknown);
//Reset all the checkboxes to default
mShowNavMeshCheckBox->set( false );
mShowWalkablesCheckBox->set( false );
mShowMaterialVolumesCheckBox->set( false );
mShowStaticObstaclesCheckBox->set( false );
mShowExclusionVolumesCheckBox->set( false );
mShowWorldCheckBox->set( false );
} }
BOOL LLFloaterPathfindingConsole::handleAnyMouseClick(S32 x, S32 y, MASK mask, EClickType clicktype, BOOL down) BOOL LLFloaterPathfindingConsole::handleAnyMouseClick(S32 x, S32 y, MASK mask, EClickType clicktype, BOOL down)
......
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