summaryrefslogtreecommitdiff
path: root/indra/newview/llpathfindingmanager.cpp
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-06-25 18:17:56 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-06-25 18:17:56 -0700
commitc9fea8b43cfb50d1e8406ea87f47c51daea7cef1 (patch)
tree70c3ddfad433c1c945d5b718d80c1c9869af9da8 /indra/newview/llpathfindingmanager.cpp
parentce101172954c9cbc9a089d8796643d545bdee9d5 (diff)
PATH-718: Disabling the view/test menu in the case of a stubbed llphysicsextensions library.
Diffstat (limited to 'indra/newview/llpathfindingmanager.cpp')
-rw-r--r--indra/newview/llpathfindingmanager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llpathfindingmanager.cpp b/indra/newview/llpathfindingmanager.cpp
index a01874296d..bafcf57944 100644
--- a/indra/newview/llpathfindingmanager.cpp
+++ b/indra/newview/llpathfindingmanager.cpp
@@ -311,6 +311,11 @@ void LLPathfindingManager::quitSystem()
}
}
+bool LLPathfindingManager::isPathfindingViewEnabled() const
+{
+ return (LLPathingLib::getInstance() != NULL);
+}
+
bool LLPathfindingManager::isPathfindingEnabledForCurrentRegion() const
{
return isPathfindingEnabledForRegion(getCurrentRegion());