mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
* Yeah, I placed Close() in the wrong file. So sue me.
This commit is contained in:
@@ -66,14 +66,5 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal void Close()
|
||||
{
|
||||
if (m_physicsActor != null)
|
||||
{
|
||||
m_scene.PhysScene.RemoveAvatar( PhysicsActor );
|
||||
m_physicsActor = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -931,5 +931,10 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
|
||||
m_physicsActor = scene.AddAvatar(pVec);
|
||||
}
|
||||
|
||||
internal void Close()
|
||||
{
|
||||
RemoveFromPhysicalScene();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user