mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Merge branch 'bigmerge' of ssh://3dhosting.de/var/git/careminster into bigmerge
This commit is contained in:
@@ -1312,13 +1312,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
part.ClearUndoState();
|
||||
}
|
||||
|
||||
public override void UpdateMovement()
|
||||
{
|
||||
SceneObjectPart[] parts = m_parts.GetArray();
|
||||
for (int i = 0; i < parts.Length; i++)
|
||||
parts[i].UpdateMovement();
|
||||
}
|
||||
|
||||
public ushort GetTimeDilation()
|
||||
{
|
||||
return Utils.FloatToUInt16(m_scene.TimeDilation, 0.0f, 1.0f);
|
||||
@@ -1486,7 +1479,15 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
avatar.StandUp();
|
||||
|
||||
if (!silent)
|
||||
{
|
||||
part.UpdateFlag = 0;
|
||||
if (part == m_rootPart)
|
||||
{
|
||||
if (!IsAttachment || (AttachedAvatar == avatar.ControllingClient.AgentId) ||
|
||||
(AttachmentPoint < 31) || (AttachmentPoint > 38))
|
||||
avatar.ControllingClient.SendKillObject(m_regionHandle, new List<uint>() {part.LocalId});
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1939,7 +1940,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
ScenePresence avatar = m_scene.GetScenePresence(AttachedAvatar);
|
||||
if (avatar != null)
|
||||
{
|
||||
avatar.MoveToTarget(target, false);
|
||||
avatar.MoveToTarget(target, false, false);
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -2104,8 +2105,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
#endregion
|
||||
|
||||
#region Scheduling
|
||||
|
||||
public override void Update()
|
||||
{
|
||||
// Check that the group was not deleted before the scheduled update
|
||||
@@ -2256,7 +2255,14 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
parts[i].SendTerseUpdateToAllClients();
|
||||
}
|
||||
|
||||
#endregion
|
||||
/// <summary>
|
||||
/// Send metadata about the root prim (name, description, sale price, etc.) to a client.
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
public void SendPropertiesToClient(IClientAPI client)
|
||||
{
|
||||
m_rootPart.SendPropertiesToClient(client);
|
||||
}
|
||||
|
||||
#region SceneGroupPart Methods
|
||||
|
||||
@@ -2751,15 +2757,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Return metadata about a prim (name, description, sale price, etc.)
|
||||
/// </summary>
|
||||
/// <param name="client"></param>
|
||||
public void GetProperties(IClientAPI client)
|
||||
{
|
||||
m_rootPart.GetProperties(client);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Set the name of a prim
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user