From: Christopher Yeoh <yeohc@au1.ibm.com>
This patch fixes a bug where if a script in a child prim has taken control of an avatar when they sit, although permission for camera control is revoked when they stand, free camera control is not restored. Currently it is only restored if the script is in the root prim (though its not clear to me where this happens!).GenericGridServerConcept
parent
d8b51cc3a8
commit
7d0790447e
|
@ -1499,6 +1499,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
part.SetAvatarOnSitTarget(UUID.Zero);
|
part.SetAvatarOnSitTarget(UUID.Zero);
|
||||||
|
|
||||||
m_parentPosition = part.GetWorldPosition();
|
m_parentPosition = part.GetWorldPosition();
|
||||||
|
ControllingClient.SendClearFollowCamProperties(part.ParentUUID);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_physicsActor == null)
|
if (m_physicsActor == null)
|
||||||
|
|
Loading…
Reference in New Issue