diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 398d394..ed107e4 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2755,6 +2755,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
2755 | 2755 | ||
2756 | cameraAtOffset = part.GetCameraAtOffset(); | 2756 | cameraAtOffset = part.GetCameraAtOffset(); |
2757 | cameraEyeOffset = part.GetCameraEyeOffset(); | 2757 | cameraEyeOffset = part.GetCameraEyeOffset(); |
2758 | |||
2759 | if (cameraEyeOffset != Vector3.Zero || cameraAtOffset != Vector3.Zero) | ||
2760 | cameraEyeOffset += part.OffsetPosition; | ||
2761 | |||
2758 | forceMouselook = part.GetForceMouselook(); | 2762 | forceMouselook = part.GetForceMouselook(); |
2759 | 2763 | ||
2760 | // An viewer expects to specify sit positions as offsets to the root prim, even if a child prim is | 2764 | // An viewer expects to specify sit positions as offsets to the root prim, even if a child prim is |