Scripted sit target fixes

avinationmerge
Tom 2010-08-03 19:51:32 -07:00
parent d9ae837063
commit f1c51c8bb4
1 changed files with 1 additions and 1 deletions

View File

@ -1939,7 +1939,7 @@ namespace OpenSim.Region.Framework.Scenes
Quaternion nrot = avSitOrientation; Quaternion nrot = avSitOrientation;
if (!part.IsRoot) if (!part.IsRoot)
{ {
nrot = nrot * part.RotationOffset; nrot = part.RotationOffset * avSitOrientation;
} }
sitOrientation = nrot; // Change rotatione to the scripted one sitOrientation = nrot; // Change rotatione to the scripted one
OffsetRotation = nrot; OffsetRotation = nrot;