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/CoreModules/ServiceConnectorsIn/Land | |
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 'OpenSim/Region/CoreModules/ServiceConnectorsIn/Land')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsIn/Land/LandServiceInConnectorModule.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsIn/Land/LandServiceInConnectorModule.cs b/OpenSim/Region/CoreModules/ServiceConnectorsIn/Land/LandServiceInConnectorModule.cs index 21483c5..fb8c306 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsIn/Land/LandServiceInConnectorModule.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsIn/Land/LandServiceInConnectorModule.cs | |||
@@ -151,7 +151,11 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Land | |||
151 | x = rx - s.RegionInfo.WorldLocX; | 151 | x = rx - s.RegionInfo.WorldLocX; |
152 | y = ry - s.RegionInfo.WorldLocY; | 152 | y = ry - s.RegionInfo.WorldLocY; |
153 | regionAccess = s.RegionInfo.AccessLevel; | 153 | regionAccess = s.RegionInfo.AccessLevel; |
154 | return s.GetLandData(x, y); | 154 | LandData land = s.GetLandData(x, y); |
155 | IDwellModule dwellModule = s.RequestModuleInterface<IDwellModule>(); | ||
156 | if (dwellModule != null) | ||
157 | land.Dwell = dwellModule.GetDwell(land); | ||
158 | return land; | ||
155 | } | 159 | } |
156 | } | 160 | } |
157 | m_log.DebugFormat("[LAND IN CONNECTOR]: region handle {0} not found", regionHandle); | 161 | m_log.DebugFormat("[LAND IN CONNECTOR]: region handle {0} not found", regionHandle); |