summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelnavmeshrebake.h
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-06-19 20:09:35 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-06-19 20:09:35 -0700
commit37e6aa609f2ccd49e6225bad5186ec6ba49b9cb7 (patch)
tree5f2020a8e3b81a65884486b18875b24acf1a4a50 /indra/newview/llpanelnavmeshrebake.h
parentb98cbe00fe885cebebe1ec5fd123c969b5d2c29f (diff)
PATH-723: Pulling in whether the user has access to view the rebake navmesh button or not.
Diffstat (limited to 'indra/newview/llpanelnavmeshrebake.h')
-rw-r--r--indra/newview/llpanelnavmeshrebake.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/indra/newview/llpanelnavmeshrebake.h b/indra/newview/llpanelnavmeshrebake.h
index 2c573f4c04..f4653ea458 100644
--- a/indra/newview/llpanelnavmeshrebake.h
+++ b/indra/newview/llpanelnavmeshrebake.h
@@ -33,6 +33,7 @@
#include "llhandle.h"
#include "llpanel.h"
+#include "llpathfindingmanager.h"
#include "llpathfindingnavmesh.h"
class LLButton;
@@ -72,6 +73,7 @@ private:
void onNavMeshRebakeClick();
+ void handleAgentState(BOOL pCanRebakeRegion);
void handleRebakeNavMeshResponse(bool pResponseStatus);
void handleNavMeshStatus(const LLPathfindingNavMeshStatus &pNavMeshStatus);
void handleRegionBoundaryCrossed();
@@ -80,10 +82,12 @@ private:
void updatePosition();
- LLButton* mNavMeshRebakeButton;
- LLButton* mNavMeshBakingButton;
- LLPathfindingNavMesh::navmesh_slot_t mNavMeshSlot;
- boost::signals2::connection mRegionCrossingSlot;
+ BOOL mCanRebakeRegion;
+ LLButton* mNavMeshRebakeButton;
+ LLButton* mNavMeshBakingButton;
+ LLPathfindingNavMesh::navmesh_slot_t mNavMeshSlot;
+ boost::signals2::connection mRegionCrossingSlot;
+ LLPathfindingManager::agent_state_slot_t mAgentStateSlot;
};
#endif //LL_NAVMESHREBAKE_H