aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World
diff options
context:
space:
mode:
authorMelanie Thielker2010-09-06 03:59:48 +0200
committerMelanie2010-09-06 04:09:51 +0100
commit0246edc2eacd3690dae44ef11e99746764b672fd (patch)
treef602facdc4eb13170885e1feacd887993498bbe2 /OpenSim/Region/CoreModules/World
parentFix a handful of copypaste errors (diff)
downloadopensim-SC_OLD-0246edc2eacd3690dae44ef11e99746764b672fd.zip
opensim-SC_OLD-0246edc2eacd3690dae44ef11e99746764b672fd.tar.gz
opensim-SC_OLD-0246edc2eacd3690dae44ef11e99746764b672fd.tar.bz2
opensim-SC_OLD-0246edc2eacd3690dae44ef11e99746764b672fd.tar.xz
Reflect the ParcelPropertiesUpdateRequest into Scene.EventManager, because
modules need to see it (Search!) even if it comes in via CAPS
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs14
1 files changed, 11 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
index 268e2ee..da7a284 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
@@ -1103,7 +1103,11 @@ namespace OpenSim.Region.CoreModules.World.Land
1103 m_landList.TryGetValue(localID, out land); 1103 m_landList.TryGetValue(localID, out land);
1104 } 1104 }
1105 1105
1106 if (land != null) land.UpdateLandProperties(args, remote_client); 1106 if (land != null)
1107 {
1108 land.UpdateLandProperties(args, remote_client);
1109 m_scene.EventManager.TriggerOnParcelPropertiesUpdateRequest(args, localID, remote_client);
1110 }
1107 } 1111 }
1108 1112
1109 public void ClientOnParcelDivideRequest(int west, int south, int east, int north, IClientAPI remote_client) 1113 public void ClientOnParcelDivideRequest(int west, int south, int east, int north, IClientAPI remote_client)
@@ -1408,9 +1412,13 @@ namespace OpenSim.Region.CoreModules.World.Land
1408 m_landList.TryGetValue(parcelID, out land); 1412 m_landList.TryGetValue(parcelID, out land);
1409 } 1413 }
1410 1414
1411 if (land != null) { 1415 if (land != null)
1416 {
1412 land.UpdateLandProperties(land_update, client); 1417 land.UpdateLandProperties(land_update, client);
1413 } else { 1418 m_scene.EventManager.TriggerOnParcelPropertiesUpdateRequest(land_update, parcelID, client);
1419 }
1420 else
1421 {
1414 m_log.WarnFormat("[LAND] unable to find parcelID {0}", parcelID); 1422 m_log.WarnFormat("[LAND] unable to find parcelID {0}", parcelID);
1415 } 1423 }
1416 return LLSDHelpers.SerialiseLLSDReply(new LLSDEmpty()); 1424 return LLSDHelpers.SerialiseLLSDReply(new LLSDEmpty());