aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorMW2007-10-11 10:50:55 +0000
committerMW2007-10-11 10:50:55 +0000
commit86e5f82cb12dc5e854fe33526aee0ce899715410 (patch)
tree99066d2e40c53eb0355262c91704ecad6640208d /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
parent* Added FormatProvider to Culture (diff)
downloadopensim-SC_OLD-86e5f82cb12dc5e854fe33526aee0ce899715410.zip
opensim-SC_OLD-86e5f82cb12dc5e854fe33526aee0ce899715410.tar.gz
opensim-SC_OLD-86e5f82cb12dc5e854fe33526aee0ce899715410.tar.bz2
opensim-SC_OLD-86e5f82cb12dc5e854fe33526aee0ce899715410.tar.xz
Some changes to the sending of updates of SceneObjects to clients, that I did a few weeks ago but never committed (and never completely finished what I had planned).
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs13
1 files changed, 5 insertions, 8 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 406db9b..22408d3 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -11,6 +11,7 @@ using OpenSim.Framework.Utilities;
11using OpenSim.Region.Environment.Interfaces; 11using OpenSim.Region.Environment.Interfaces;
12using OpenSim.Region.Environment.Scenes.Scripting; 12using OpenSim.Region.Environment.Scenes.Scripting;
13using OpenSim.Region.Physics.Manager; 13using OpenSim.Region.Physics.Manager;
14using OpenSim.Region.Environment.Types;
14 15
15namespace OpenSim.Region.Environment.Scenes 16namespace OpenSim.Region.Environment.Scenes
16{ 17{
@@ -681,15 +682,13 @@ namespace OpenSim.Region.Environment.Scenes
681 List<ScenePresence> avatars = m_parentGroup.GetScenePresences(); 682 List<ScenePresence> avatars = m_parentGroup.GetScenePresences();
682 for (int i = 0; i < avatars.Count; i++) 683 for (int i = 0; i < avatars.Count; i++)
683 { 684 {
684 avatars[i].AddFullPart(this); 685 avatars[i].QueuePartForUpdate(this);
685 // avatars[i].QueuePartForUpdate(this);
686 } 686 }
687 } 687 }
688 688
689 public void AddFullUpdateToAvatar(ScenePresence presence) 689 public void AddFullUpdateToAvatar(ScenePresence presence)
690 { 690 {
691 presence.AddFullPart(this); 691 presence.QueuePartForUpdate(this);
692 //presence.QueuePartForUpdate(this);
693 } 692 }
694 693
695 /// <summary> 694 /// <summary>
@@ -745,15 +744,13 @@ namespace OpenSim.Region.Environment.Scenes
745 List<ScenePresence> avatars = m_parentGroup.GetScenePresences(); 744 List<ScenePresence> avatars = m_parentGroup.GetScenePresences();
746 for (int i = 0; i < avatars.Count; i++) 745 for (int i = 0; i < avatars.Count; i++)
747 { 746 {
748 avatars[i].AddTersePart(this); 747 avatars[i].QueuePartForUpdate(this);
749 // avatars[i].QueuePartForUpdate(this);
750 } 748 }
751 } 749 }
752 750
753 public void AddTerseUpdateToAvatar(ScenePresence presence) 751 public void AddTerseUpdateToAvatar(ScenePresence presence)
754 { 752 {
755 presence.AddTersePart(this); 753 presence.QueuePartForUpdate(this);
756 // presence.QueuePartForUpdate(this);
757 } 754 }
758 755
759 /// <summary> 756 /// <summary>