From 2587c4f2738d8bd3d7c7cd1b19d22a9fbe54ae9e Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Thu, 15 Dec 2022 11:16:30 -0500 Subject: [PATCH] Fix build --- indra/newview/llviewerregion.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp index 32dfff141af..0298a5fc86b 100755 --- a/indra/newview/llviewerregion.cpp +++ b/indra/newview/llviewerregion.cpp @@ -88,6 +88,7 @@ #include "llviewernetwork.h" #include "llslurl.h" #include "llnotificationsutil.h" +#include "llviewerbuildconfig.h" #include <boost/regex.hpp> @@ -2435,6 +2436,7 @@ void LLViewerRegion::setSimulatorFeatures(const LLSD& sim_features) { setGodnames(); std::string cur_symbol = LLCurrencyWrapper::instance().getHomeCurrency(); +#if !LL_HAVOK if (mSimulatorFeatures.has("OpenSimExtras")) { const LLSD& extras(mSimulatorFeatures["OpenSimExtras"]); @@ -2488,6 +2490,7 @@ void LLViewerRegion::setSimulatorFeatures(const LLSD& sim_features) mMaxPhysPrimScale = extras.has("MaxPhysPrimScale") ? extras["MaxPhysPrimScale"].asReal() : OS_DEFAULT_MAX_PRIM_SCALE; } else +#endif { mWhisperRange = 10; mSayRange = 20; -- GitLab