Revert "Revert "Add experimental stubs for an extension function interface on both""

Found that the vehicle movement problem was not caused by these physics changes.

This reverts commit 89857378ce.
TeleportWork
Robert Adams 2013-07-23 08:12:34 -07:00
parent af9deed135
commit 401c2e2f2e
2 changed files with 15 additions and 0 deletions

View File

@ -313,6 +313,12 @@ namespace OpenSim.Region.Physics.Manager
public abstract void SubscribeEvents(int ms); public abstract void SubscribeEvents(int ms);
public abstract void UnSubscribeEvents(); public abstract void UnSubscribeEvents();
public abstract bool SubscribedEvents(); public abstract bool SubscribedEvents();
// Extendable interface for new, physics engine specific operations
public virtual object Extension(string pFunct, params object[] pParams)
{
throw new NotImplementedException();
}
} }
public class NullPhysicsActor : PhysicsActor public class NullPhysicsActor : PhysicsActor

View File

@ -25,10 +25,13 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Reflection; using System.Reflection;
using log4net; using log4net;
using Nini.Config; using Nini.Config;
using OpenSim.Framework; using OpenSim.Framework;
using OpenMetaverse; using OpenMetaverse;
@ -331,5 +334,11 @@ namespace OpenSim.Region.Physics.Manager
{ {
return false; return false;
} }
// Extendable interface for new, physics engine specific operations
public virtual object Extension(string pFunct, params object[] pParams)
{
throw new NotImplementedException();
}
} }
} }