diff options
author | UbitUmarov | 2017-05-14 04:17:48 +0100 |
---|---|---|
committer | UbitUmarov | 2017-05-14 04:17:48 +0100 |
commit | 9ab8ce1404259557cb1412af5b3296ced7228d5b (patch) | |
tree | a595e27699843a4a0aa09696abd84526650d97d6 /OpenSim/Region/ClientStack | |
parent | fix some issue on parcels loading and make parcels dwell show something. Reso... (diff) | |
download | opensim-SC-9ab8ce1404259557cb1412af5b3296ced7228d5b.zip opensim-SC-9ab8ce1404259557cb1412af5b3296ced7228d5b.tar.gz opensim-SC-9ab8ce1404259557cb1412af5b3296ced7228d5b.tar.bz2 opensim-SC-9ab8ce1404259557cb1412af5b3296ced7228d5b.tar.xz |
fix remote requests for dwell, so dwell module still called
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 6a3960d..298c933 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -3111,10 +3111,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3111 | 3111 | ||
3112 | public void SendParcelInfo(RegionInfo info, LandData land, UUID parcelID, uint x, uint y) | 3112 | public void SendParcelInfo(RegionInfo info, LandData land, UUID parcelID, uint x, uint y) |
3113 | { | 3113 | { |
3114 | float dwell = 0.0f; | ||
3115 | IDwellModule dwellModule = m_scene.RequestModuleInterface<IDwellModule>(); | ||
3116 | if (dwellModule != null) | ||
3117 | dwell = dwellModule.GetDwell(land); | ||
3118 | ParcelInfoReplyPacket reply = (ParcelInfoReplyPacket)PacketPool.Instance.GetPacket(PacketType.ParcelInfoReply); | 3114 | ParcelInfoReplyPacket reply = (ParcelInfoReplyPacket)PacketPool.Instance.GetPacket(PacketType.ParcelInfoReply); |
3119 | reply.AgentData.AgentID = m_agentId; | 3115 | reply.AgentData.AgentID = m_agentId; |
3120 | reply.Data.ParcelID = parcelID; | 3116 | reply.Data.ParcelID = parcelID; |
@@ -3141,7 +3137,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3141 | reply.Data.GlobalZ = pos.Z; | 3137 | reply.Data.GlobalZ = pos.Z; |
3142 | reply.Data.SimName = Utils.StringToBytes(info.RegionName); | 3138 | reply.Data.SimName = Utils.StringToBytes(info.RegionName); |
3143 | reply.Data.SnapshotID = land.SnapshotID; | 3139 | reply.Data.SnapshotID = land.SnapshotID; |
3144 | reply.Data.Dwell = dwell; | 3140 | reply.Data.Dwell = land.Dwell; |
3145 | reply.Data.SalePrice = land.SalePrice; | 3141 | reply.Data.SalePrice = land.SalePrice; |
3146 | reply.Data.AuctionID = (int)land.AuctionID; | 3142 | reply.Data.AuctionID = (int)land.AuctionID; |
3147 | 3143 | ||