Add any camera at compensation for sat upon child prims to any existing camera-at value, rather than replace.

bullet-2.82
Justin Clark-Casey (justincc) 2014-05-23 01:38:05 +01:00
parent fbed245596
commit c78a8271c4
1 changed files with 1 additions and 1 deletions

View File

@ -2768,7 +2768,7 @@ namespace OpenSim.Region.Framework.Scenes
if (!part.IsRoot)
{
cameraEyeOffset = cameraEyeOffset * part.RotationOffset;
cameraAtOffset = part.OffsetPosition;
cameraAtOffset += part.OffsetPosition;
}
cameraEyeOffset += part.OffsetPosition;