Scripted sit target fixes
parent
d9ae837063
commit
f1c51c8bb4
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue