aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorMelanie2011-11-04 01:18:37 +0000
committerMelanie2011-11-04 01:18:37 +0000
commit24235006f473cec56213705ce70df781cf9bcbc1 (patch)
tree7d0e75978d48272827c3f03f087bf79658dd16cf /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentMerge branch 'master' into bigmerge (diff)
parentRename ForEachAvatar back to ForEachScenePresence. The other changes (diff)
downloadopensim-SC-24235006f473cec56213705ce70df781cf9bcbc1.zip
opensim-SC-24235006f473cec56213705ce70df781cf9bcbc1.tar.gz
opensim-SC-24235006f473cec56213705ce70df781cf9bcbc1.tar.bz2
opensim-SC-24235006f473cec56213705ce70df781cf9bcbc1.tar.xz
Merge branch 'master' into bigmerge
Conflicts: OpenSim/Region/CoreModules/Avatar/Chat/ChatModule.cs OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs OpenSim/Region/CoreModules/LightShare/LightShareModule.cs OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 948518a..c8f28c7 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -1025,7 +1025,7 @@ namespace OpenSim.Region.Framework.Scenes
1025 public PrimitiveBaseShape Shape 1025 public PrimitiveBaseShape Shape
1026 { 1026 {
1027 get { return m_shape; } 1027 get { return m_shape; }
1028 set { m_shape = value; } 1028 set { m_shape = value;}
1029 } 1029 }
1030 1030
1031 /// <summary> 1031 /// <summary>
@@ -1389,12 +1389,12 @@ namespace OpenSim.Region.Framework.Scenes
1389 /// <param name="AgentID"></param> 1389 /// <param name="AgentID"></param>
1390 private void SendRootPartPropertiesToClient(UUID AgentID) 1390 private void SendRootPartPropertiesToClient(UUID AgentID)
1391 { 1391 {
1392 m_parentGroup.Scene.ForEachScenePresence(delegate(ScenePresence avatar) 1392 m_parentGroup.Scene.ForEachClient(delegate(IClientAPI client)
1393 { 1393 {
1394 // Ugly reference :( 1394 // Ugly reference :(
1395 if (avatar.UUID == AgentID) 1395 if (client.AgentId == AgentID)
1396 { 1396 {
1397 m_parentGroup.SendPropertiesToClient(avatar.ControllingClient); 1397 m_parentGroup.SendPropertiesToClient(client);
1398 } 1398 }
1399 }); 1399 });
1400 } 1400 }
@@ -1514,9 +1514,9 @@ namespace OpenSim.Region.Framework.Scenes
1514 if (volume < 0) 1514 if (volume < 0)
1515 volume = 0; 1515 volume = 0;
1516 1516
1517 m_parentGroup.Scene.ForEachRootScenePresence(delegate(ScenePresence sp) 1517 m_parentGroup.Scene.ForEachRootClient(delegate(IClientAPI client)
1518 { 1518 {
1519 sp.ControllingClient.SendAttachedSoundGainChange(UUID, (float)volume); 1519 client.SendAttachedSoundGainChange(UUID, (float)volume);
1520 }); 1520 });
1521 } 1521 }
1522 1522
@@ -2270,7 +2270,7 @@ namespace OpenSim.Region.Framework.Scenes
2270 } 2270 }
2271 else 2271 else
2272 { 2272 {
2273 m_parentGroup.Scene.ForEachScenePresence(delegate(ScenePresence av) 2273 m_parentGroup.Scene.ForEachRootScenePresence(delegate(ScenePresence av)
2274 { 2274 {
2275 if (av.LocalId == localId) 2275 if (av.LocalId == localId)
2276 { 2276 {
@@ -2401,7 +2401,7 @@ namespace OpenSim.Region.Framework.Scenes
2401 } 2401 }
2402 else 2402 else
2403 { 2403 {
2404 m_parentGroup.Scene.ForEachScenePresence(delegate(ScenePresence av) 2404 m_parentGroup.Scene.ForEachRootScenePresence(delegate(ScenePresence av)
2405 { 2405 {
2406 if (av.LocalId == localId) 2406 if (av.LocalId == localId)
2407 { 2407 {
@@ -2524,7 +2524,7 @@ namespace OpenSim.Region.Framework.Scenes
2524 } 2524 }
2525 else 2525 else
2526 { 2526 {
2527 m_parentGroup.Scene.ForEachScenePresence(delegate(ScenePresence av) 2527 m_parentGroup.Scene.ForEachRootScenePresence(delegate(ScenePresence av)
2528 { 2528 {
2529 if (av.LocalId == localId) 2529 if (av.LocalId == localId)
2530 { 2530 {