summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprep linden <prep@lindenlab.com>2012-06-01 09:44:24 -0400
committerprep linden <prep@lindenlab.com>2012-06-01 09:44:24 -0400
commitc17d967d796b2bd735d3d8eea340c3541aa86d63 (patch)
tree16382eb713ce647d4e61314d6e19e834f377bc47
parent0a10ff0f78ae779ff52e9bd475b4bca534ea1f30 (diff)
Removed unneeded alloc
-rw-r--r--indra/newview/llpathfindingcharacter.cpp3
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
}