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

@ -1457,10 +1457,13 @@ namespace OpenSim.Region.Environment.Scenes
{
SceneObjectPart rootpart = m_rootPart;
if (rootpart != null)
{
if (rootpart.PhysActor != null)
{
rootpart.PhysActor.PIDActive = false;
}
}
}
public void SetRootPartOwner(SceneObjectPart part, UUID cAgentID, UUID cGroupID)
{