From 7f2fdb80546d5c567d3a3028b1eb29ba4da7cea9 Mon Sep 17 00:00:00 2001 From: MW Date: Tue, 15 May 2007 21:26:10 +0000 Subject: Added RemoveAvatar() method to physics plugins, should be called on log out (needs doing) and when downgrading a client to a child-avatar (should be working) --- OpenSim.Physics/Manager/PhysicsScene.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OpenSim.Physics/Manager') diff --git a/OpenSim.Physics/Manager/PhysicsScene.cs b/OpenSim.Physics/Manager/PhysicsScene.cs index b79cc46..7dab4e1 100644 --- a/OpenSim.Physics/Manager/PhysicsScene.cs +++ b/OpenSim.Physics/Manager/PhysicsScene.cs @@ -44,6 +44,8 @@ namespace OpenSim.Physics.Manager public abstract PhysicsActor AddAvatar(PhysicsVector position); + public abstract void RemoveAvatar(PhysicsActor actor); + public abstract PhysicsActor AddPrim(PhysicsVector position, PhysicsVector size); public abstract void Simulate(float timeStep); @@ -70,6 +72,11 @@ namespace OpenSim.Physics.Manager return PhysicsActor.Null; } + public override void RemoveAvatar(PhysicsActor actor) + { + + } + public override PhysicsActor AddPrim(PhysicsVector position, PhysicsVector size) { OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.VERBOSE, "NullPhysicsScene : AddPrim({0},{1})", position, size); -- cgit v1.1