aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Physics/Manager/PhysicsScene.cs
diff options
context:
space:
mode:
authorMW2007-05-15 21:26:10 +0000
committerMW2007-05-15 21:26:10 +0000
commit7f2fdb80546d5c567d3a3028b1eb29ba4da7cea9 (patch)
tree0fec7900eda4aff8962fd7bddb2820bf056f7fb9 /OpenSim.Physics/Manager/PhysicsScene.cs
parentfixed part of the bug from 116 (should no longer get the repeated Failed with... (diff)
downloadopensim-SC-7f2fdb80546d5c567d3a3028b1eb29ba4da7cea9.zip
opensim-SC-7f2fdb80546d5c567d3a3028b1eb29ba4da7cea9.tar.gz
opensim-SC-7f2fdb80546d5c567d3a3028b1eb29ba4da7cea9.tar.bz2
opensim-SC-7f2fdb80546d5c567d3a3028b1eb29ba4da7cea9.tar.xz
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 '')
-rw-r--r--OpenSim.Physics/Manager/PhysicsScene.cs7
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);