summaryrefslogtreecommitdiff
path: root/indra/newview/llpathfindingobject.h
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-06-04 14:36:43 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-06-04 14:36:43 -0700
commitea23285f8b728bf52c8490610c610f4abd2d6957 (patch)
treeeee90fcec08768ee1ba55adabbedd635a4a4dfe4 /indra/newview/llpathfindingobject.h
parentfb7c7043a467d0d6c2b741ca603b6b1c57a52ae9 (diff)
Ensuring that the scroll list is rebuilt after any missing avatar names are loaded into cache.
Diffstat (limited to 'indra/newview/llpathfindingobject.h')
-rw-r--r--indra/newview/llpathfindingobject.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llpathfindingobject.h b/indra/newview/llpathfindingobject.h
index 880a3a6864..924ea3f298 100644
--- a/indra/newview/llpathfindingobject.h
+++ b/indra/newview/llpathfindingobject.h
@@ -53,7 +53,8 @@ public:
inline const LLUUID& getUUID() const {return mUUID;};
inline const std::string& getName() const {return mName;};
inline const std::string& getDescription() const {return mDescription;};
- inline BOOL hasOwnerName() const {return mOwnerUUID.notNull();};
+ inline BOOL hasOwner() const {return mOwnerUUID.notNull();};
+ inline bool hasOwnerName() const {return mHasOwnerName;};
std::string getOwnerName() const;
inline const LLVector3& getLocation() const {return mLocation;};
@@ -62,10 +63,14 @@ protected:
private:
void parseObjectData(const LLSD &pObjectData);
+ void fetchOwnerName();
+ void handleAvatarNameFetch(const LLUUID &pOwnerUUID, const LLAvatarName &pAvatarName);
+
LLUUID mUUID;
std::string mName;
std::string mDescription;
LLUUID mOwnerUUID;
+ bool mHasOwnerName;
LLAvatarName mOwnerName;
LLVector3 mLocation;
};