work around some 'tests' errors: fix math

LSLKeyTest
UbitUmarov 2015-11-16 22:41:36 +00:00
parent 3a65627481
commit 52a3cc39e9
1 changed files with 2 additions and 3 deletions

View File

@ -137,9 +137,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
Vector3 childPosition = new Vector3(rootPartPosition + rotatedChildOffsetPosition);
SceneObjectPart childPart = so.Parts[1];
// FIXME: Should be childPosition after rotation?
Assert.That(childPart.AbsolutePosition, Is.EqualTo(rootPartPosition + childOffsetPosition));
Assert.That(childPart.AbsolutePosition, Is.EqualTo(childPosition));
Assert.That(childPart.GroupPosition, Is.EqualTo(rootPartPosition));
Assert.That(childPart.GetWorldPosition(), Is.EqualTo(childPosition));