aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
diff options
context:
space:
mode:
authorMelanie2011-01-28 02:36:20 +0000
committerMelanie2011-01-28 02:36:20 +0000
commit3f200da8781a91ced8733bd4bac3ee17ae2de518 (patch)
tree5a28bcf8726927dbaafd659a36f70e490aaea99b /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
parentMerge branch 'master' into careminster-presence-refactor (diff)
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC_OLD-3f200da8781a91ced8733bd4bac3ee17ae2de518.zip
opensim-SC_OLD-3f200da8781a91ced8733bd4bac3ee17ae2de518.tar.gz
opensim-SC_OLD-3f200da8781a91ced8733bd4bac3ee17ae2de518.tar.bz2
opensim-SC_OLD-3f200da8781a91ced8733bd4bac3ee17ae2de518.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 72348b9..3972ec9 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -4398,7 +4398,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4398 updateMessage.SequenceID = sequence_id; 4398 updateMessage.SequenceID = sequence_id;
4399 if (landData.SimwideArea > 0) 4399 if (landData.SimwideArea > 0)
4400 { 4400 {
4401 updateMessage.SimWideMaxPrims = parcelObjectCapacity; 4401 int simulatorCapacity = (int)(((float)landData.SimwideArea / 65536.0f) * (float)m_scene.RegionInfo.ObjectCapacity * (float)m_scene.RegionInfo.RegionSettings.ObjectBonus);
4402 updateMessage.SimWideMaxPrims = simulatorCapacity;
4402 } 4403 }
4403 else 4404 else
4404 { 4405 {