Remove unnecessary distinction for physics lib again after Havok lib has been updated
parent
02bc059951
commit
affda233ba
|
|
@ -283,14 +283,8 @@ void LLFloaterPathfindingCharacters::showCapsule() const
|
|||
llassert(mSelectedCharacterId == character->getUUID());
|
||||
if (LLPathingLib::getInstance() != NULL)
|
||||
{
|
||||
// <FS:Ansariel> Interface in Nicky's physics stub package expects bool while Havok package still expects BOOL aka S32
|
||||
#ifdef HAVOK_TPV
|
||||
LLPathingLib::getInstance()->createPhysicsCapsuleRep(character->getLength(), character->getRadius(),
|
||||
static_cast<BOOL>(character->isHorizontal()), character->getUUID());
|
||||
#else
|
||||
LLPathingLib::getInstance()->createPhysicsCapsuleRep(character->getLength(), character->getRadius(),
|
||||
character->isHorizontal(), character->getUUID());
|
||||
#endif // HAVOK_TPV
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue