From 3fbbd9e0b7516d1c170267acc26a767af1fa4b1d Mon Sep 17 00:00:00 2001 From: Armin Weatherwax Date: Mon, 29 Mar 2010 15:50:33 +0200 Subject: support more OpenSim limits (number of groups, hollow size) --- linden/indra/newview/llworld.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'linden/indra/newview/llworld.cpp') diff --git a/linden/indra/newview/llworld.cpp b/linden/indra/newview/llworld.cpp index 02c7be3..90ab49b 100644 --- a/linden/indra/newview/llworld.cpp +++ b/linden/indra/newview/llworld.cpp @@ -60,6 +60,7 @@ #include "pipeline.h" #include "llappviewer.h" // for do_disconnect() +#include "hippoLimits.h" // // Globals // @@ -128,6 +129,10 @@ void LLWorld::destroyClass() LLViewerPartSim::getInstance()->destroyClass(); } +F32 LLWorld::getRegionMaxHeight() const +{ + return gHippoLimits->getMaxHeight(); +} LLViewerRegion* LLWorld::addRegion(const U64 ®ion_handle, const LLHost &host) { -- cgit v1.1