diff options
author | Justin Clark-Casey (justincc) | 2011-08-01 06:15:02 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-01 06:15:02 +0100 |
commit | 6618948ff9b1e98b52f3067855ca1b05e7e36144 (patch) | |
tree | b3ef19012f0dff5d118e4c1f56731ed469324ea1 /OpenSim/Region/Physics/Manager | |
parent | minor: add note to RemovePrimThreadLocked() to the effect that it contrary to... (diff) | |
download | opensim-SC-6618948ff9b1e98b52f3067855ca1b05e7e36144.zip opensim-SC-6618948ff9b1e98b52f3067855ca1b05e7e36144.tar.gz opensim-SC-6618948ff9b1e98b52f3067855ca1b05e7e36144.tar.bz2 opensim-SC-6618948ff9b1e98b52f3067855ca1b05e7e36144.tar.xz |
refactor: centralize prim geom removal code from four places to one
Diffstat (limited to 'OpenSim/Region/Physics/Manager')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsScene.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsScene.cs b/OpenSim/Region/Physics/Manager/PhysicsScene.cs index 3870411..04efc1d 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsScene.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsScene.cs | |||
@@ -86,6 +86,10 @@ namespace OpenSim.Region.Physics.Manager | |||
86 | 86 | ||
87 | public abstract void RemoveAvatar(PhysicsActor actor); | 87 | public abstract void RemoveAvatar(PhysicsActor actor); |
88 | 88 | ||
89 | /// <summary> | ||
90 | /// Remove a prim from the physics scene. | ||
91 | /// </summary> | ||
92 | /// <param name="prim"></param> | ||
89 | public abstract void RemovePrim(PhysicsActor prim); | 93 | public abstract void RemovePrim(PhysicsActor prim); |
90 | 94 | ||
91 | public abstract PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, Vector3 position, | 95 | public abstract PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, Vector3 position, |