Scripted sit target fixes

This commit is contained in:
Tom
2010-08-03 19:51:32 -07:00
parent d9ae837063
commit f1c51c8bb4

View File

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