From c17d967d796b2bd735d3d8eea340c3541aa86d63 Mon Sep 17 00:00:00 2001 From: prep linden Date: Fri, 1 Jun 2012 09:44:24 -0400 Subject: Removed unneeded alloc --- indra/newview/llpathfindingcharacter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'indra/newview') 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 } -- cgit v1.2.3