Remove unimplementated UpdateMovement() methods from SOG, SOP.

SP still has an implementation but this is now just a public method on SP rather than an abstract one in EntityBase.
No point making the code more complex until it actually needs to be,
remove-scene-viewer
Justin Clark-Casey (justincc) 2011-10-01 01:26:50 +01:00
parent 42fe774ad1
commit 56dbab35e1
4 changed files with 1 additions and 17 deletions

View File

@ -114,11 +114,6 @@ namespace OpenSim.Region.Framework.Scenes
m_name = "(basic entity)";
}
/// <summary>
///
/// </summary>
public abstract void UpdateMovement();
/// <summary>
/// Performs any updates that need to be done at each frame, as opposed to immediately.
/// These included scheduled updates and updates that occur due to physics processing.

View File

@ -1005,13 +1005,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);

View File

@ -4189,10 +4189,6 @@ namespace OpenSim.Region.Framework.Scenes
}
}
public virtual void UpdateMovement()
{
}
/// <summary>
///
/// </summary>

View File

@ -3313,7 +3313,7 @@ namespace OpenSim.Region.Framework.Scenes
/// <summary>
/// Handles part of the PID controller function for moving an avatar.
/// </summary>
public override void UpdateMovement()
public void UpdateMovement()
{
if (m_forceToApply.HasValue)
{