From 56dbab35e122e724c9277b05820417a05ad8a1be Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Sat, 1 Oct 2011 01:26:50 +0100
Subject: 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,
---
OpenSim/Region/Framework/Scenes/EntityBase.cs | 5 -----
OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 7 -------
OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 4 ----
OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 +-
4 files changed, 1 insertion(+), 17 deletions(-)
(limited to 'OpenSim/Region/Framework')
diff --git a/OpenSim/Region/Framework/Scenes/EntityBase.cs b/OpenSim/Region/Framework/Scenes/EntityBase.cs
index 320b904..680a4a3 100644
--- a/OpenSim/Region/Framework/Scenes/EntityBase.cs
+++ b/OpenSim/Region/Framework/Scenes/EntityBase.cs
@@ -115,11 +115,6 @@ namespace OpenSim.Region.Framework.Scenes
}
///
- ///
- ///
- public abstract void UpdateMovement();
-
- ///
/// 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.
///
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 234eb7d..d983d7f 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -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);
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index d631c12..6fa82b8 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -4189,10 +4189,6 @@ namespace OpenSim.Region.Framework.Scenes
}
}
- public virtual void UpdateMovement()
- {
- }
-
///
///
///
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 5b02c3b..b3e04be 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3313,7 +3313,7 @@ namespace OpenSim.Region.Framework.Scenes
///
/// Handles part of the PID controller function for moving an avatar.
///
- public override void UpdateMovement()
+ public void UpdateMovement()
{
if (m_forceToApply.HasValue)
{
--
cgit v1.1