aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorMelanie2011-11-10 23:44:19 +0000
committerMelanie2011-11-10 23:44:19 +0000
commite9055cec17dc01f456d2c6ca8c739587507b5b81 (patch)
treef1246f7d3524c81ffdcde2caec834e445b59aaec /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentFix turn left and turn right properly. Works for both built-ins and LSL AOs (diff)
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC_OLD-e9055cec17dc01f456d2c6ca8c739587507b5b81.zip
opensim-SC_OLD-e9055cec17dc01f456d2c6ca8c739587507b5b81.tar.gz
opensim-SC_OLD-e9055cec17dc01f456d2c6ca8c739587507b5b81.tar.bz2
opensim-SC_OLD-e9055cec17dc01f456d2c6ca8c739587507b5b81.tar.xz
Merge branch 'master' into bigmerge
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs27
1 files changed, 9 insertions, 18 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index e4bee0c..0970c92 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -1391,22 +1391,6 @@ namespace OpenSim.Region.Framework.Scenes
1391 client.SendObjectPropertiesReply(this); 1391 client.SendObjectPropertiesReply(this);
1392 } 1392 }
1393 1393
1394 /// <summary>
1395 /// For the scene object group to which this part belongs, send that scene object's root part properties to a client.
1396 /// </summary>
1397 /// <param name="AgentID"></param>
1398 private void SendRootPartPropertiesToClient(UUID AgentID)
1399 {
1400 m_parentGroup.Scene.ForEachClient(delegate(IClientAPI client)
1401 {
1402 // Ugly reference :(
1403 if (client.AgentId == AgentID)
1404 {
1405 m_parentGroup.SendPropertiesToClient(client);
1406 }
1407 });
1408 }
1409
1410 // TODO: unused: 1394 // TODO: unused:
1411 // private void handleTimerAccounting(uint localID, double interval) 1395 // private void handleTimerAccounting(uint localID, double interval)
1412 // { 1396 // {
@@ -4268,6 +4252,15 @@ namespace OpenSim.Region.Framework.Scenes
4268 } 4252 }
4269 } 4253 }
4270 4254
4255 /// <summary>
4256 /// Update permissions on the SOP. Should only be called from SOG.UpdatePermissions because the SOG
4257 /// will handle the client notifications once all of its parts are updated.
4258 /// </summary>
4259 /// <param name="AgentID"></param>
4260 /// <param name="field"></param>
4261 /// <param name="localID"></param>
4262 /// <param name="mask"></param>
4263 /// <param name="addRemTF"></param>
4271 public void UpdatePermissions(UUID AgentID, byte field, uint localID, uint mask, byte addRemTF) 4264 public void UpdatePermissions(UUID AgentID, byte field, uint localID, uint mask, byte addRemTF)
4272 { 4265 {
4273 bool set = addRemTF == 1; 4266 bool set = addRemTF == 1;
@@ -4316,8 +4309,6 @@ namespace OpenSim.Region.Framework.Scenes
4316 } 4309 }
4317 4310
4318 SendFullUpdateToAllClients(); 4311 SendFullUpdateToAllClients();
4319
4320 SendRootPartPropertiesToClient(AgentID);
4321 } 4312 }
4322 } 4313 }
4323 4314