From affda233ba8e75062418a2e84cb4d4b07d6a4382 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Tue, 6 Aug 2024 15:05:16 +0200 Subject: [PATCH] Remove unnecessary distinction for physics lib again after Havok lib has been updated --- indra/newview/llfloaterpathfindingcharacters.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/indra/newview/llfloaterpathfindingcharacters.cpp b/indra/newview/llfloaterpathfindingcharacters.cpp index e1515d9cce..e0a234e3a2 100644 --- a/indra/newview/llfloaterpathfindingcharacters.cpp +++ b/indra/newview/llfloaterpathfindingcharacters.cpp @@ -283,14 +283,8 @@ void LLFloaterPathfindingCharacters::showCapsule() const llassert(mSelectedCharacterId == character->getUUID()); if (LLPathingLib::getInstance() != NULL) { - // 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(character->isHorizontal()), character->getUUID()); -#else LLPathingLib::getInstance()->createPhysicsCapsuleRep(character->getLength(), character->getRadius(), character->isHorizontal(), character->getUUID()); -#endif // HAVOK_TPV } }