aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs12
-rw-r--r--OpenSim/Region/Environment/Scenes/AllNewSceneObjectPart2.cs12
2 files changed, 24 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs b/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs
index 5d94f22..4638d70 100644
--- a/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs
+++ b/OpenSim/Region/Environment/Scenes/AllNewSceneObjectGroup2.cs
@@ -521,5 +521,17 @@ namespace OpenSim.Region.Environment.Scenes
521 { 521 {
522 return m_scene.RequestAvatarList(); 522 return m_scene.RequestAvatarList();
523 } 523 }
524
525 internal void SendPartFullUpdate(IClientAPI remoteClient, AllNewSceneObjectPart2 part)
526 {
527 if( m_rootPart == part )
528 {
529 part.SendFullUpdateToClient( remoteClient, Pos );
530 }
531 else
532 {
533 part.SendFullUpdateToClient( remoteClient );
534 }
535 }
524 } 536 }
525} 537}
diff --git a/OpenSim/Region/Environment/Scenes/AllNewSceneObjectPart2.cs b/OpenSim/Region/Environment/Scenes/AllNewSceneObjectPart2.cs
index 7a31369..7b6676b 100644
--- a/OpenSim/Region/Environment/Scenes/AllNewSceneObjectPart2.cs
+++ b/OpenSim/Region/Environment/Scenes/AllNewSceneObjectPart2.cs
@@ -443,6 +443,13 @@ namespace OpenSim.Region.Environment.Scenes
443 } 443 }
444 } 444 }
445 445
446
447
448 public void FullUpdate(IClientAPI remoteClient)
449 {
450 m_parentGroup.SendPartFullUpdate( remoteClient, this );
451 }
452
446 /// <summary> 453 /// <summary>
447 /// 454 ///
448 /// </summary> 455 /// </summary>
@@ -451,6 +458,11 @@ namespace OpenSim.Region.Environment.Scenes
451 { 458 {
452 LLVector3 lPos; 459 LLVector3 lPos;
453 lPos = OffsetPosition; 460 lPos = OffsetPosition;
461 SendFullUpdateToClient(remoteClient, lPos);
462 }
463
464 public void SendFullUpdateToClient(IClientAPI remoteClient, LLVector3 lPos)
465 {
454 LLQuaternion lRot; 466 LLQuaternion lRot;
455 lRot = RotationOffset; 467 lRot = RotationOffset;
456 468