diff options
author | Melanie | 2011-01-28 02:34:07 +0000 |
---|---|---|
committer | Melanie | 2011-01-28 02:34:07 +0000 |
commit | 5a0cb7d37e2491e508e6e37f0c9ee2e8ce6e7957 (patch) | |
tree | 623ad2a3c1f91af6cd2ff1651e1f9991ca85aeed /OpenSim/Region/ClientStack/LindenUDP | |
parent | When an oar is loaded, do not create a default parcel before loading the parc... (diff) | |
download | opensim-SC-5a0cb7d37e2491e508e6e37f0c9ee2e8ce6e7957.zip opensim-SC-5a0cb7d37e2491e508e6e37f0c9ee2e8ce6e7957.tar.gz opensim-SC-5a0cb7d37e2491e508e6e37f0c9ee2e8ce6e7957.tar.bz2 opensim-SC-5a0cb7d37e2491e508e6e37f0c9ee2e8ce6e7957.tar.xz |
Thank you, Goetz, for a patch to fix prim count display in cut regions.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 5dab1bc..2c6795f 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -4333,7 +4333,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4333 | updateMessage.SequenceID = sequence_id; | 4333 | updateMessage.SequenceID = sequence_id; |
4334 | if (landData.SimwideArea > 0) | 4334 | if (landData.SimwideArea > 0) |
4335 | { | 4335 | { |
4336 | updateMessage.SimWideMaxPrims = parcelObjectCapacity; | 4336 | int simulatorCapacity = (int)(((float)landData.SimwideArea / 65536.0f) * (float)m_scene.RegionInfo.ObjectCapacity * (float)m_scene.RegionInfo.RegionSettings.ObjectBonus); |
4337 | updateMessage.SimWideMaxPrims = simulatorCapacity; | ||
4337 | } | 4338 | } |
4338 | else | 4339 | else |
4339 | { | 4340 | { |