mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Merge branch 'master' into careminster
Conflicts: OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
This commit is contained in:
@@ -4738,7 +4738,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
}
|
||||
|
||||
PhysActor = pa;
|
||||
}
|
||||
|
||||
ParentGroup.Scene.EventManager.TriggerObjectAddedToPhysicalScene(this);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This removes the part from the physics scene.
|
||||
@@ -4757,6 +4759,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
pa.OnOutOfBounds -= PhysicsOutOfBounds;
|
||||
|
||||
ParentGroup.Scene.PhysicsScene.RemovePrim(pa);
|
||||
|
||||
ParentGroup.Scene.EventManager.TriggerObjectRemovedFromPhysicalScene(this);
|
||||
}
|
||||
PhysActor = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user