aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-10-14 01:45:46 +0100
committerJustin Clark-Casey (justincc)2011-10-14 01:45:46 +0100
commitaa19ccf65c9cd235e0ba941e9832c5240df4412c (patch)
tree48eabbf61b9f39c6b5d1310cfefe3083a5ca4bde /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentExtract NullPhysicsScene from PhysicsScene to improve code readability (diff)
downloadopensim-SC_OLD-aa19ccf65c9cd235e0ba941e9832c5240df4412c.zip
opensim-SC_OLD-aa19ccf65c9cd235e0ba941e9832c5240df4412c.tar.gz
opensim-SC_OLD-aa19ccf65c9cd235e0ba941e9832c5240df4412c.tar.bz2
opensim-SC_OLD-aa19ccf65c9cd235e0ba941e9832c5240df4412c.tar.xz
refactor: rename IClientAPI.SendPrimUpdate() to SendEntityUpdate() since it sends entity updates (including presence ones), not just prims.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 4abece1..e52131e 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -3017,7 +3017,7 @@ namespace OpenSim.Region.Framework.Scenes
3017 //if (LocalId != ParentGroup.RootPart.LocalId) 3017 //if (LocalId != ParentGroup.RootPart.LocalId)
3018 //isattachment = ParentGroup.RootPart.IsAttachment; 3018 //isattachment = ParentGroup.RootPart.IsAttachment;
3019 3019
3020 remoteClient.SendPrimUpdate(this, PrimUpdateFlags.FullUpdate); 3020 remoteClient.SendEntityUpdate(this, PrimUpdateFlags.FullUpdate);
3021 ParentGroup.Scene.StatsReporter.AddObjectUpdates(1); 3021 ParentGroup.Scene.StatsReporter.AddObjectUpdates(1);
3022 } 3022 }
3023 3023
@@ -4793,7 +4793,7 @@ namespace OpenSim.Region.Framework.Scenes
4793 4793
4794 // Causes this thread to dig into the Client Thread Data. 4794 // Causes this thread to dig into the Client Thread Data.
4795 // Remember your locking here! 4795 // Remember your locking here!
4796 remoteClient.SendPrimUpdate( 4796 remoteClient.SendEntityUpdate(
4797 this, 4797 this,
4798 PrimUpdateFlags.Position | PrimUpdateFlags.Rotation | PrimUpdateFlags.Velocity 4798 PrimUpdateFlags.Position | PrimUpdateFlags.Rotation | PrimUpdateFlags.Velocity
4799 | PrimUpdateFlags.Acceleration | PrimUpdateFlags.AngularVelocity); 4799 | PrimUpdateFlags.Acceleration | PrimUpdateFlags.AngularVelocity);