summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelnavmeshrebake.h
diff options
context:
space:
mode:
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