aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorlbsa712007-08-07 17:25:21 +0000
committerlbsa712007-08-07 17:25:21 +0000
commitd0156b491b3044654465b1310b49a56a5e8c8e76 (patch)
tree637ebe6416a9688d1a190fa54a635632e5d1c4a2
parenta couple of changes in the new Sceneobject classes, just committing so things... (diff)
downloadopensim-SC-d0156b491b3044654465b1310b49a56a5e8c8e76.zip
opensim-SC-d0156b491b3044654465b1310b49a56a5e8c8e76.tar.gz
opensim-SC-d0156b491b3044654465b1310b49a56a5e8c8e76.tar.bz2
opensim-SC-d0156b491b3044654465b1310b49a56a5e8c8e76.tar.xz
* koncept bugfix
-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