summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-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
}