diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-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 |