diff options
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 | } |