on sog unlink loose the reference to the deleted physics actor

LSLKeyTest
UbitUmarov 2016-08-19 21:21:59 +01:00
parent e734d526fc
commit d386bfa1b6
1 changed files with 3 additions and 0 deletions

View File

@ -3347,7 +3347,10 @@ namespace OpenSim.Region.Framework.Scenes
// engine about the delink. Someday, linksets should be made first
// class objects in the physics engine interface).
if (linkPartPa != null)
{
m_scene.PhysicsScene.RemovePrim(linkPartPa);
linkPart.PhysActor = null;
}
// We need to reset the child part's position
// ready for life as a separate object after being a part of another object