Thank you both Nlin and M.Igarashi for a patch that:

Attached patch protects against a NullReferenceException 
in SceneObjectGroup.stopMoveToTarget (used by LSL function 
llStopMoveToTarget). Thanks to M. Igarashi.
0.6.0-stable
Charles Krinke 2008-10-22 14:06:07 +00:00
parent 659ad99993
commit 3c99f027b5
1 changed files with 4 additions and 1 deletions

View File

@ -1458,7 +1458,10 @@ namespace OpenSim.Region.Environment.Scenes
SceneObjectPart rootpart = m_rootPart; SceneObjectPart rootpart = m_rootPart;
if (rootpart != null) if (rootpart != null)
{ {
rootpart.PhysActor.PIDActive = false; if (rootpart.PhysActor != null)
{
rootpart.PhysActor.PIDActive = false;
}
} }
} }