Fix up failing test to compensate for changed sit target offset
parent
323b76cee4
commit
69322b84ce
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue