diff options
| author | Todd Stinson <stinson@lindenlab.com> | 2012-06-04 18:36:22 -0700 | 
|---|---|---|
| committer | Todd Stinson <stinson@lindenlab.com> | 2012-06-04 18:36:22 -0700 | 
| commit | 9db2061e1db177f8e13e9c94b672b27bc325ec81 (patch) | |
| tree | 9a01aa77603cfb94e14a83415dfacc68f3c036e3 | |
| parent | 527fb080f5352ad3c96d9fb40d737a45fc5ad33d (diff) | |
BUGFIX: Ensuring that the physics capsule is built for each character.
| -rw-r--r-- | indra/newview/llpathfindingcharacter.cpp | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/indra/newview/llpathfindingcharacter.cpp b/indra/newview/llpathfindingcharacter.cpp index e3889522f3..42130d9fde 100644 --- a/indra/newview/llpathfindingcharacter.cpp +++ b/indra/newview/llpathfindingcharacter.cpp @@ -107,6 +107,10 @@ void LLPathfindingCharacter::parseCharacterData(const LLSD &pCharacterData)  		llassert(pCharacterData.has(CHARACTER_RADIUS_FIELD));  		llassert(pCharacterData.get(CHARACTER_RADIUS_FIELD).isReal());  		mRadius = pCharacterData.get(CHARACTER_RADIUS_FIELD).asReal(); + +		//Create the rep inside the pathing library +		LLVector3 empty(0,0,0); +		LLPathingLib::getInstance()->createPhysicsCapsuleRep( mLength, mRadius, mIsHorizontal, empty, getUUID() );  	}  #else // SERVER_SIDE_CHARACTER_SHAPE_ROLLOUT_COMPLETE  	llassert(pCharacterData.has(CHARACTER_HORIZONTAL_FIELD)); @@ -124,6 +128,5 @@ void LLPathfindingCharacter::parseCharacterData(const LLSD &pCharacterData)  	//Create the rep inside the pathing library  	LLVector3 empty(0,0,0);  	LLPathingLib::getInstance()->createPhysicsCapsuleRep( mLength, mRadius, mIsHorizontal, empty, getUUID() ); -  #endif // SERVER_SIDE_CHARACTER_SHAPE_ROLLOUT_COMPLETE  } | 
