diff options
author | Sean Dague | 2009-02-23 12:52:32 +0000 |
---|---|---|
committer | Sean Dague | 2009-02-23 12:52:32 +0000 |
commit | 7d0790447ea1f39736169b2eb326dcd507372c9d (patch) | |
tree | e648cb7bda0f909cde4f1647edd3467d18d42acc /OpenSim/Region/Framework | |
parent | * This should fix the 'Solution Folder' annoyance on express versions. (diff) | |
download | opensim-SC_OLD-7d0790447ea1f39736169b2eb326dcd507372c9d.zip opensim-SC_OLD-7d0790447ea1f39736169b2eb326dcd507372c9d.tar.gz opensim-SC_OLD-7d0790447ea1f39736169b2eb326dcd507372c9d.tar.bz2 opensim-SC_OLD-7d0790447ea1f39736169b2eb326dcd507372c9d.tar.xz |
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!).
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index c012350..672567b 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1499,6 +1499,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1499 | part.SetAvatarOnSitTarget(UUID.Zero); | 1499 | part.SetAvatarOnSitTarget(UUID.Zero); |
1500 | 1500 | ||
1501 | m_parentPosition = part.GetWorldPosition(); | 1501 | m_parentPosition = part.GetWorldPosition(); |
1502 | ControllingClient.SendClearFollowCamProperties(part.ParentUUID); | ||
1502 | } | 1503 | } |
1503 | 1504 | ||
1504 | if (m_physicsActor == null) | 1505 | if (m_physicsActor == null) |