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
|
@ -1457,10 +1457,13 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
{
|
{
|
||||||
SceneObjectPart rootpart = m_rootPart;
|
SceneObjectPart rootpart = m_rootPart;
|
||||||
if (rootpart != null)
|
if (rootpart != null)
|
||||||
|
{
|
||||||
|
if (rootpart.PhysActor != null)
|
||||||
{
|
{
|
||||||
rootpart.PhysActor.PIDActive = false;
|
rootpart.PhysActor.PIDActive = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void SetRootPartOwner(SceneObjectPart part, UUID cAgentID, UUID cGroupID)
|
public void SetRootPartOwner(SceneObjectPart part, UUID cAgentID, UUID cGroupID)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue