* Yeah, I placed Close() in the wrong file. So sue me.
parent
5fab795bf0
commit
80a9b81448
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue