diff options
author | UbitUmarov | 2016-08-28 04:43:44 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-28 04:43:44 +0100 |
commit | 03dba18bb6e5428ccd4970aa66c4a96a8220bf15 (patch) | |
tree | df9501ad9e133e64ea8d20cc1a94676ca69369c2 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | missing file (diff) | |
download | opensim-SC_OLD-03dba18bb6e5428ccd4970aa66c4a96a8220bf15.zip opensim-SC_OLD-03dba18bb6e5428ccd4970aa66c4a96a8220bf15.tar.gz opensim-SC_OLD-03dba18bb6e5428ccd4970aa66c4a96a8220bf15.tar.bz2 opensim-SC_OLD-03dba18bb6e5428ccd4970aa66c4a96a8220bf15.tar.xz |
let mouse steer work on crossings; some cleanup
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 2dc6f48..914644a 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1239,6 +1239,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
1239 | ParentPart = part; | 1239 | ParentPart = part; |
1240 | m_pos = PrevSitOffset; | 1240 | m_pos = PrevSitOffset; |
1241 | pos = part.GetWorldPosition(); | 1241 | pos = part.GetWorldPosition(); |
1242 | PhysicsActor partPhysActor = part.PhysActor; | ||
1243 | if(partPhysActor != null) | ||
1244 | { | ||
1245 | partPhysActor.OnPhysicsRequestingCameraData -= | ||
1246 | physActor_OnPhysicsRequestingCameraData; | ||
1247 | partPhysActor.OnPhysicsRequestingCameraData += | ||
1248 | physActor_OnPhysicsRequestingCameraData; | ||
1249 | } | ||
1242 | } | 1250 | } |
1243 | ParentUUID = UUID.Zero; | 1251 | ParentUUID = UUID.Zero; |
1244 | } | 1252 | } |