diff options
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)
Diffstat (limited to 'OpenSim.Physics/Manager/PhysicsScene.cs')
-rw-r--r-- | OpenSim.Physics/Manager/PhysicsScene.cs | 7 |
1 files changed, 7 insertions, 0 deletions
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 | |||
44 | 44 | ||
45 | public abstract PhysicsActor AddAvatar(PhysicsVector position); | 45 | public abstract PhysicsActor AddAvatar(PhysicsVector position); |
46 | 46 | ||
47 | public abstract void RemoveAvatar(PhysicsActor actor); | ||
48 | |||
47 | public abstract PhysicsActor AddPrim(PhysicsVector position, PhysicsVector size); | 49 | public abstract PhysicsActor AddPrim(PhysicsVector position, PhysicsVector size); |
48 | 50 | ||
49 | public abstract void Simulate(float timeStep); | 51 | public abstract void Simulate(float timeStep); |
@@ -70,6 +72,11 @@ namespace OpenSim.Physics.Manager | |||
70 | return PhysicsActor.Null; | 72 | return PhysicsActor.Null; |
71 | } | 73 | } |
72 | 74 | ||
75 | public override void RemoveAvatar(PhysicsActor actor) | ||
76 | { | ||
77 | |||
78 | } | ||
79 | |||
73 | public override PhysicsActor AddPrim(PhysicsVector position, PhysicsVector size) | 80 | public override PhysicsActor AddPrim(PhysicsVector position, PhysicsVector size) |
74 | { | 81 | { |
75 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.VERBOSE, "NullPhysicsScene : AddPrim({0},{1})", position, size); | 82 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(LogPriority.VERBOSE, "NullPhysicsScene : AddPrim({0},{1})", position, size); |