summaryrefslogtreecommitdiff
path: root/indra/newview/llpathfindingcharacter.cpp
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-03-27 19:05:29 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-03-27 19:05:29 -0700
commit473da43c1bbc20245b3a74c1adc7c92f91d25807 (patch)
treea29a9e6e18d496c6cd195f4c3090db7841c1c997 /indra/newview/llpathfindingcharacter.cpp
parent083c81f53f79f53aafdb380a178be081ae461018 (diff)
Refactoring the characters floater code.
Diffstat (limited to 'indra/newview/llpathfindingcharacter.cpp')
-rw-r--r--indra/newview/llpathfindingcharacter.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llpathfindingcharacter.cpp b/indra/newview/llpathfindingcharacter.cpp
index afa07457bc..4600f661f8 100644
--- a/indra/newview/llpathfindingcharacter.cpp
+++ b/indra/newview/llpathfindingcharacter.cpp
@@ -33,11 +33,11 @@
#include "llavatarname.h"
#include "llavatarnamecache.h"
-#define CHARACTER_NAME_FIELD "name"
-#define CHARACTER_DESCRIPTION_FIELD "description"
-#define CHARACTER_OWNER_FIELD "owner"
-#define CHARACTER_CPU_TIME_FIELD "cpu_time"
-#define CHARACTER_POSITION_FIELD "position"
+#define CHARACTER_NAME_FIELD "name"
+#define CHARACTER_DESCRIPTION_FIELD "description"
+#define CHARACTER_OWNER_FIELD "owner"
+#define CHARACTER_CPU_TIME_FIELD "cpu_time"
+#define CHARACTER_POSITION_FIELD "position"
//---------------------------------------------------------------------------
// LLPathfindingCharacter
@@ -50,7 +50,7 @@ LLPathfindingCharacter::LLPathfindingCharacter(const std::string &pUUID, const L
mOwnerUUID(),
mOwnerName(),
mCPUTime(0U),
- mLocation()
+ mLocation(LLVector3::zero)
{
llassert(pCharacterItem.has(CHARACTER_NAME_FIELD));
llassert(pCharacterItem.get(CHARACTER_NAME_FIELD).isString());