diff options
author | prep linden <prep@lindenlab.com> | 2012-06-01 09:44:24 -0400 |
---|---|---|
committer | prep linden <prep@lindenlab.com> | 2012-06-01 09:44:24 -0400 |
commit | c17d967d796b2bd735d3d8eea340c3541aa86d63 (patch) | |
tree | 16382eb713ce647d4e61314d6e19e834f377bc47 | |
parent | 0a10ff0f78ae779ff52e9bd475b4bca534ea1f30 (diff) |
Removed unneeded alloc
-rw-r--r-- | indra/newview/llpathfindingcharacter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llpathfindingcharacter.cpp b/indra/newview/llpathfindingcharacter.cpp index c7843b8fee..d43a0664f8 100644 --- a/indra/newview/llpathfindingcharacter.cpp +++ b/indra/newview/llpathfindingcharacter.cpp @@ -126,8 +126,7 @@ void LLPathfindingCharacter::parseCharacterData(const LLSD &pCharacterData) //Create the rep inside the pathing library LLVector3 empty(0,0,0); - const LLUUID id = getUUID(); - LLPathingLib::getInstance()->createPhysicsCapsuleRep( mLength, mRadius, mIsHorizontal, empty, id ); + LLPathingLib::getInstance()->createPhysicsCapsuleRep( mLength, mRadius, mIsHorizontal, empty, getUUID() ); #endif // SERVER_SIDE_CHARACTER_SHAPE_ROLLOUT_COMPLETE } |