From 56965e8cb66df9e15303ffbe65f5ead93b90ab97 Mon Sep 17 00:00:00 2001 From: David Seikel Date: Tue, 18 Jan 2011 12:13:33 +1000 Subject: Increase maximum build height and sim size to 16383 meters. --- linden/indra/llcommon/indra_constants.h | 3 ++- linden/indra/newview/hippolimits.cpp | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/linden/indra/llcommon/indra_constants.h b/linden/indra/llcommon/indra_constants.h index 279d280..2fa2cdf 100644 --- a/linden/indra/llcommon/indra_constants.h +++ b/linden/indra/llcommon/indra_constants.h @@ -61,7 +61,8 @@ static const F32 REGION_WIDTH_METERS = 256.f; static const S32 REGION_WIDTH_UNITS = 256; static const U32 REGION_WIDTH_U32 = 256; -const F32 REGION_HEIGHT_METERS = 4096.f; +// TODO - this is not actually used anywhere, but updating it anyway. +const F32 REGION_HEIGHT_METERS = 16383.f; // Bits for simulator performance query flags enum LAND_STAT_FLAGS diff --git a/linden/indra/newview/hippolimits.cpp b/linden/indra/newview/hippolimits.cpp index 3368ba4..d899f60 100644 --- a/linden/indra/newview/hippolimits.cpp +++ b/linden/indra/newview/hippolimits.cpp @@ -16,7 +16,7 @@ HippoLimits *gHippoLimits = 0; HippoLimits::HippoLimits() : mMaxAgentGroups(100), - mMaxHeight(10000.0f), + mMaxHeight(16383.0f), mMinHoleSize(0.05f), mMaxHollow(0.95f), mMinPrimScale(0.001f), @@ -56,7 +56,7 @@ void HippoLimits::setOpenSimLimits() mMaxPrimXPos = F32_MAX; mMaxPrimYPos = F32_MAX; mMaxPrimZPos = F32_MAX; - mMaxHeight = 10000.0f; + mMaxHeight = 16383.0f; mMaxLinkedPrims = -1; mMaxPhysLinkedPrims = -1; mAllowParcelWindLight = TRUE; -- cgit v1.1