oops bug fix

This commit is contained in:
UbitUmarov
2022-08-15 20:44:13 +01:00
parent f7e7e9c054
commit da7d00f834
2 changed files with 3 additions and 2 deletions

View File

@@ -1872,7 +1872,6 @@ namespace OpenSim.Region.PhysicsModule.ubOde
if (NewStatus)
{
AvatarGeomAndBodyDestroy();
AvatarGeomAndBodyCreate();
m_parent_scene.actor_name_map[collider] = this;
@@ -1882,7 +1881,6 @@ namespace OpenSim.Region.PhysicsModule.ubOde
{
m_parent_scene.RemoveCollisionEventReporting(this);
m_parent_scene.RemoveCharacter(this);
// destroy avatar capsule and related ODE data
AvatarGeomAndBodyDestroy();
}