summaryrefslogtreecommitdiff
path: root/indra/newview/llnavmeshstation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llnavmeshstation.cpp')
-rw-r--r--indra/newview/llnavmeshstation.cpp18
1 files changed, 16 insertions, 2 deletions
diff --git a/indra/newview/llnavmeshstation.cpp b/indra/newview/llnavmeshstation.cpp
index 2128411a07..565cc4eb2d 100644
--- a/indra/newview/llnavmeshstation.cpp
+++ b/indra/newview/llnavmeshstation.cpp
@@ -52,8 +52,22 @@ public:
}
void result( const LLSD& content )
- {
- content;
+ {
+ llinfos<<"Content received"<<llendl;
+ //TODO# some sanity checking
+ if ( content.has("error") )
+ {
+ llwarns << "Error on fetched data"<< llendl;
+ }
+ else
+ {
+ LLNavMeshObserver* pObserver = mObserverHandle.get();
+ if ( pObserver )
+ {
+ llinfos<<"Do something immensely important w/content"<<llendl;
+ //pObserver->execute();
+ }
+ }
}
private: