From 1503338ddcd170871815d70d328cbbd1dfd40c82 Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Mon, 27 Feb 2012 16:15:16 -0800 Subject: PATH-292: Ensuring that the terrain linkset is not visible and/or editable to a non-estate non-god agent. --- indra/newview/llpathfindingmanager.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'indra/newview/llpathfindingmanager.h') diff --git a/indra/newview/llpathfindingmanager.h b/indra/newview/llpathfindingmanager.h index 4b6fd49640..9a6bbb81b9 100644 --- a/indra/newview/llpathfindingmanager.h +++ b/indra/newview/llpathfindingmanager.h @@ -38,6 +38,7 @@ #include "llpathfindinglinksetlist.h" class LLFloater; +class LLViewerRegion; class LLPathfindingManager : public LLSingleton { @@ -70,6 +71,7 @@ public: bool isPathfindingEnabledForCurrentRegion() const; bool isAllowAlterPermanent(); + bool isAllowViewTerrainProperties() const; agent_state_slot_t registerAgentStateSignal(agent_state_callback_t pAgentStateCallback); EAgentState getAgentState(); @@ -95,6 +97,7 @@ private: std::string getTerrainLinksetsURLForCurrentRegion() const; std::string getCapabilityURLForCurrentRegion(const std::string &pCapabilityName) const; + LLViewerRegion *getCurrentRegion() const; agent_state_signal_t mAgentStateSignal; EAgentState mAgentState; -- cgit v1.3