* koncept bugfix

afrisby
lbsa71 2007-08-07 17:25:21 +00:00
parent 5ac5785cf2
commit d0156b491b
2 changed files with 24 additions and 0 deletions

View File

@ -521,5 +521,17 @@ namespace OpenSim.Region.Environment.Scenes
{ {
return m_scene.RequestAvatarList(); return m_scene.RequestAvatarList();
} }
internal void SendPartFullUpdate(IClientAPI remoteClient, AllNewSceneObjectPart2 part)
{
if( m_rootPart == part )
{
part.SendFullUpdateToClient( remoteClient, Pos );
}
else
{
part.SendFullUpdateToClient( remoteClient );
}
}
} }
} }

View File

@ -443,6 +443,13 @@ namespace OpenSim.Region.Environment.Scenes
} }
} }
public void FullUpdate(IClientAPI remoteClient)
{
m_parentGroup.SendPartFullUpdate( remoteClient, this );
}
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
@ -451,6 +458,11 @@ namespace OpenSim.Region.Environment.Scenes
{ {
LLVector3 lPos; LLVector3 lPos;
lPos = OffsetPosition; lPos = OffsetPosition;
SendFullUpdateToClient(remoteClient, lPos);
}
public void SendFullUpdateToClient(IClientAPI remoteClient, LLVector3 lPos)
{
LLQuaternion lRot; LLQuaternion lRot;
lRot = RotationOffset; lRot = RotationOffset;