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
parent
659ad99993
commit
3c99f027b5
|
@ -1458,7 +1458,10 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
SceneObjectPart rootpart = m_rootPart;
|
||||
if (rootpart != null)
|
||||
{
|
||||
rootpart.PhysActor.PIDActive = false;
|
||||
if (rootpart.PhysActor != null)
|
||||
{
|
||||
rootpart.PhysActor.PIDActive = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue