Fix up failing test to compensate for changed sit target offset

avinationmerge
Melanie 2011-11-06 21:46:03 +00:00
parent 323b76cee4
commit 69322b84ce
1 changed files with 2 additions and 2 deletions

View File

@ -287,7 +287,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC.Tests
// default avatar. // default avatar.
Assert.That( Assert.That(
npc.AbsolutePosition, npc.AbsolutePosition,
Is.EqualTo(part.AbsolutePosition + new Vector3(0, 0, 0.8857438f))); Is.EqualTo(part.AbsolutePosition + new Vector3(0, 0, 0.8454993));
npcModule.Stand(npc.UUID, scene); npcModule.Stand(npc.UUID, scene);
@ -295,4 +295,4 @@ namespace OpenSim.Region.OptionalModules.World.NPC.Tests
Assert.That(npc.ParentID, Is.EqualTo(0)); Assert.That(npc.ParentID, Is.EqualTo(0));
} }
} }
} }