summaryrefslogtreecommitdiff
path: root/indra/newview/llpathfindingmanager.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-06-26 13:28:19 -0400
committerOz Linden <oz@lindenlab.com>2012-06-26 13:28:19 -0400
commitec730b66004bf9120bb5ee3eba59f0253a78d364 (patch)
tree38f9a2eb0a8b5915b147aa2e92ea5488c9541fdd /indra/newview/llpathfindingmanager.cpp
parent5c2c85c6f7f7552a184169bc5959a84efac05895 (diff)
parentb3ccf0f2adb666d558cddd3cad1e548a99ea401f (diff)
merge to latest viewer-development-havokai
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());