From f85e3c5b745a5311870981c85250c9bc21d4b31e Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 19 Nov 2025 10:09:51 +0100 Subject: [PATCH] Yoinkin' it right... --- indra/newview/llfloatermodelpreview.cpp | 2 +- indra/newview/llfloaterpathfindingconsole.cpp | 13 ------------- indra/newview/llmodelpreview.cpp | 2 +- indra/newview/llpathfindingpathtool.cpp | 4 ---- 4 files changed, 2 insertions(+), 19 deletions(-) diff --git a/indra/newview/llfloatermodelpreview.cpp b/indra/newview/llfloatermodelpreview.cpp index a501ae14c6..bad15b3333 100644 --- a/indra/newview/llfloatermodelpreview.cpp +++ b/indra/newview/llfloatermodelpreview.cpp @@ -328,7 +328,7 @@ bool LLFloaterModelPreview::postBuild() // // Show an alert dialog if using the Opensim viewer as functionality will be limited without Havok -#ifndef HAVOK_TPV +#if !LL_HAVOK LLSD args; args["FEATURE"] = getString("no_havok"); LLNotificationsUtil::add("NoHavok", args); diff --git a/indra/newview/llfloaterpathfindingconsole.cpp b/indra/newview/llfloaterpathfindingconsole.cpp index a7a74be26a..994a5c0c02 100644 --- a/indra/newview/llfloaterpathfindingconsole.cpp +++ b/indra/newview/llfloaterpathfindingconsole.cpp @@ -52,12 +52,6 @@ #include "llviewerparcelmgr.h" #include "pipeline.h" -// For NoHavok alert -#ifndef HAVOK_TPV -#include "llnotificationsutil.h" -#endif // OPENSIM -// - #define XUI_RENDER_HEATMAP_NONE 0 #define XUI_RENDER_HEATMAP_A 1 #define XUI_RENDER_HEATMAP_B 2 @@ -245,13 +239,6 @@ void LLFloaterPathfindingConsole::onOpen(const LLSD& pKey) { switchIntoTestPathMode(); } -// Show an alert dialog if using the Opensim viewer as functionality will be limited without Havok -#ifndef HAVOK_TPV - LLSD args; - args["FEATURE"] = getString("no_havok"); - LLNotificationsUtil::add("NoHavok", args); -#endif // OPENSIM -// } void LLFloaterPathfindingConsole::onClose(bool pIsAppQuitting) diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp index 04c5ca25d5..f73986d4e2 100644 --- a/indra/newview/llmodelpreview.cpp +++ b/indra/newview/llmodelpreview.cpp @@ -3387,7 +3387,7 @@ void LLModelPreview::updateStatusMessages() // physStatusIcon->setImage(img); // } //} -#ifndef HAVOK_TPV +#if !LL_HAVOK has_physics_error |= PhysicsError::NOHAVOK; #endif diff --git a/indra/newview/llpathfindingpathtool.cpp b/indra/newview/llpathfindingpathtool.cpp index 41bfd644d0..1d04ebd145 100644 --- a/indra/newview/llpathfindingpathtool.cpp +++ b/indra/newview/llpathfindingpathtool.cpp @@ -230,11 +230,7 @@ LLPathfindingPathTool::EPathStatus LLPathfindingPathTool::getPathStatus() const F32 LLPathfindingPathTool::getCharacterWidth() const { -#ifdef HAVOK_TPV return mFinalPathData.mCharacterWidth; -#else - return (F32)mFinalPathData.mCharacterWidth; -#endif } void LLPathfindingPathTool::setCharacterWidth(F32 pCharacterWidth)