diff options
author | lbsa71 | 2007-09-21 05:34:40 +0000 |
---|---|---|
committer | lbsa71 | 2007-09-21 05:34:40 +0000 |
commit | 80a9b81448f4de4ead325089f876d6526a496807 (patch) | |
tree | ab57826f1543ecb6168d9b2832bae704bf911584 /OpenSim/Region/Environment/Scenes | |
parent | * Continued work on Region layer (diff) | |
download | opensim-SC-80a9b81448f4de4ead325089f876d6526a496807.zip opensim-SC-80a9b81448f4de4ead325089f876d6526a496807.tar.gz opensim-SC-80a9b81448f4de4ead325089f876d6526a496807.tar.bz2 opensim-SC-80a9b81448f4de4ead325089f876d6526a496807.tar.xz |
* Yeah, I placed Close() in the wrong file. So sue me.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.Animations.cs | 9 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 5 |
2 files changed, 5 insertions, 9 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.Animations.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.Animations.cs index 168a60e..8ed4e87 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.Animations.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.Animations.cs | |||
@@ -66,14 +66,5 @@ namespace OpenSim.Region.Environment.Scenes | |||
66 | } | 66 | } |
67 | } | 67 | } |
68 | } | 68 | } |
69 | |||
70 | internal void Close() | ||
71 | { | ||
72 | if (m_physicsActor != null) | ||
73 | { | ||
74 | m_scene.PhysScene.RemoveAvatar( PhysicsActor ); | ||
75 | m_physicsActor = null; | ||
76 | } | ||
77 | } | ||
78 | } | 69 | } |
79 | } \ No newline at end of file | 70 | } \ No newline at end of file |
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index cee93b2..d70752d 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -931,5 +931,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
931 | 931 | ||
932 | m_physicsActor = scene.AddAvatar(pVec); | 932 | m_physicsActor = scene.AddAvatar(pVec); |
933 | } | 933 | } |
934 | |||
935 | internal void Close() | ||
936 | { | ||
937 | RemoveFromPhysicalScene(); | ||
938 | } | ||
934 | } | 939 | } |
935 | } \ No newline at end of file | 940 | } \ No newline at end of file |