aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2010-08-24 17:37:11 +0100
committerMelanie2010-08-24 17:37:11 +0100
commit483fc88b07b2f7d4f89c021fbb5883e0494b3244 (patch)
tree34bf6f8c94b225990a4bee035984f02e0cea7055 /OpenSim
parentMerge branch 'master' into careminster-presence-refactor (diff)
parentPlumb the region type through to the ProductName field in estate messages (diff)
downloadopensim-SC_OLD-483fc88b07b2f7d4f89c021fbb5883e0494b3244.zip
opensim-SC_OLD-483fc88b07b2f7d4f89c021fbb5883e0494b3244.tar.gz
opensim-SC_OLD-483fc88b07b2f7d4f89c021fbb5883e0494b3244.tar.bz2
opensim-SC_OLD-483fc88b07b2f7d4f89c021fbb5883e0494b3244.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/RegionInfoForEstateMenuArgs.cs3
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs4
-rw-r--r--OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs1
3 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Framework/RegionInfoForEstateMenuArgs.cs b/OpenSim/Framework/RegionInfoForEstateMenuArgs.cs
index fee3126..f274da2 100644
--- a/OpenSim/Framework/RegionInfoForEstateMenuArgs.cs
+++ b/OpenSim/Framework/RegionInfoForEstateMenuArgs.cs
@@ -47,5 +47,6 @@ namespace OpenSim.Framework
47 public bool useEstateSun; 47 public bool useEstateSun;
48 public float waterHeight; 48 public float waterHeight;
49 public string simName; 49 public string simName;
50 public string regionType;
50 } 51 }
51} \ No newline at end of file 52}
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index ce9f145..87ed90f 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -742,7 +742,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
742 handshake.RegionInfo3.CPURatio = 1; 742 handshake.RegionInfo3.CPURatio = 1;
743 743
744 handshake.RegionInfo3.ColoName = Utils.EmptyBytes; 744 handshake.RegionInfo3.ColoName = Utils.EmptyBytes;
745 handshake.RegionInfo3.ProductName = Utils.EmptyBytes; 745 handshake.RegionInfo3.ProductName = Util.StringToBytes256(regionInfo.RegionType);
746 handshake.RegionInfo3.ProductSKU = Utils.EmptyBytes; 746 handshake.RegionInfo3.ProductSKU = Utils.EmptyBytes;
747 747
748 OutPacket(handshake, ThrottleOutPacketType.Task); 748 OutPacket(handshake, ThrottleOutPacketType.Task);
@@ -4141,7 +4141,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4141 rinfopack.RegionInfo2.HardMaxAgents = uint.MaxValue; 4141 rinfopack.RegionInfo2.HardMaxAgents = uint.MaxValue;
4142 rinfopack.RegionInfo2.HardMaxObjects = uint.MaxValue; 4142 rinfopack.RegionInfo2.HardMaxObjects = uint.MaxValue;
4143 rinfopack.RegionInfo2.MaxAgents32 = uint.MaxValue; 4143 rinfopack.RegionInfo2.MaxAgents32 = uint.MaxValue;
4144 rinfopack.RegionInfo2.ProductName = Utils.EmptyBytes; 4144 rinfopack.RegionInfo2.ProductName = Util.StringToBytes256(args.regionType);
4145 rinfopack.RegionInfo2.ProductSKU = Utils.EmptyBytes; 4145 rinfopack.RegionInfo2.ProductSKU = Utils.EmptyBytes;
4146 4146
4147 rinfopack.HasVariableBlocks = true; 4147 rinfopack.HasVariableBlocks = true;
diff --git a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs
index 171e0b9..6e7971e 100644
--- a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs
@@ -672,6 +672,7 @@ namespace OpenSim.Region.CoreModules.World.Estate
672 args.useEstateSun = m_scene.RegionInfo.RegionSettings.UseEstateSun; 672 args.useEstateSun = m_scene.RegionInfo.RegionSettings.UseEstateSun;
673 args.waterHeight = (float)m_scene.RegionInfo.RegionSettings.WaterHeight; 673 args.waterHeight = (float)m_scene.RegionInfo.RegionSettings.WaterHeight;
674 args.simName = m_scene.RegionInfo.RegionName; 674 args.simName = m_scene.RegionInfo.RegionName;
675 args.regionType = m_scene.RegionInfo.RegionType;
675 676
676 remote_client.SendRegionInfoToEstateMenu(args); 677 remote_client.SendRegionInfoToEstateMenu(args);
677 } 678 }