summaryrefslogtreecommitdiff
path: root/indra/newview/llnavmeshstation.cpp
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2011-11-04 14:10:48 -0400
committerprep <prep@lindenlab.com>2011-11-04 14:10:48 -0400
commit1194063e316461e5b4bf93c1c9ab8e99fefb435b (patch)
treeb1053c8761397cabea6382e164feeb4b7c007f4e /indra/newview/llnavmeshstation.cpp
parentbfbd649b4c2a2e03298e82d1caa6611dee4411cb (diff)
Hooked up responder, added navmeshupload capabilty to viewer
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: