mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
add some headers to llemail emails; cosmetics
This commit is contained in:
@@ -142,12 +142,18 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat.Tests
|
||||
|
||||
// We must update the scenes in order to make the root new root agents trigger position updates in their
|
||||
// children.
|
||||
sceneWest.Update(4);
|
||||
sceneEast.Update(4);
|
||||
for (int i = 0; i < 6; ++i)
|
||||
{
|
||||
sceneWest.Update(1);
|
||||
sceneEast.Update(1);
|
||||
}
|
||||
sp1.DrawDistance += 64;
|
||||
sp2.DrawDistance += 64;
|
||||
sceneWest.Update(2);
|
||||
sceneEast.Update(2);
|
||||
for (int i = 0; i < 6; ++i)
|
||||
{
|
||||
sceneWest.Update(1);
|
||||
sceneEast.Update(1);
|
||||
}
|
||||
|
||||
// Check child positions are correct.
|
||||
Assert.AreEqual(
|
||||
@@ -171,11 +177,17 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat.Tests
|
||||
|
||||
sp1Position = new Vector3(30, 128, 20);
|
||||
sp1.AbsolutePosition = sp1Position;
|
||||
sceneWest.Update(1);
|
||||
sceneEast.Update(1);
|
||||
for (int i = 0; i < 2; ++i)
|
||||
{
|
||||
sceneWest.Update(1);
|
||||
sceneEast.Update(1);
|
||||
}
|
||||
Thread.Sleep(12000); // child updates are now time limited
|
||||
sceneWest.Update(5);
|
||||
sceneEast.Update(5);
|
||||
for (int i = 0; i < 6; ++i)
|
||||
{
|
||||
sceneWest.Update(1);
|
||||
sceneEast.Update(1);
|
||||
}
|
||||
|
||||
// Check child position is correct.
|
||||
Assert.AreEqual(
|
||||
@@ -237,12 +249,18 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat.Tests
|
||||
|
||||
// We must update the scenes in order to make the root new root agents trigger position updates in their
|
||||
// children.
|
||||
sceneNorth.Update(4);
|
||||
sceneSouth.Update(4);
|
||||
for (int i = 0; i < 6; ++i)
|
||||
{
|
||||
sceneNorth.Update(1);
|
||||
sceneSouth.Update(1);
|
||||
}
|
||||
sp1.DrawDistance += 64;
|
||||
sp2.DrawDistance += 64;
|
||||
sceneNorth.Update(4);
|
||||
sceneSouth.Update(4);
|
||||
for (int i = 0; i < 6; ++i)
|
||||
{
|
||||
sceneNorth.Update(1);
|
||||
sceneSouth.Update(1);
|
||||
}
|
||||
|
||||
// Check child positions are correct.
|
||||
Assert.AreEqual(
|
||||
@@ -266,11 +284,11 @@ namespace OpenSim.Region.CoreModules.Avatar.Chat.Tests
|
||||
|
||||
sp1Position = new Vector3(30, 128, 20);
|
||||
sp1.AbsolutePosition = sp1Position;
|
||||
sceneNorth.Update(1);
|
||||
sceneSouth.Update(1);
|
||||
sceneNorth.Update(6);
|
||||
sceneSouth.Update(6);
|
||||
Thread.Sleep(12000); // child updates are now time limited
|
||||
sceneNorth.Update(5);
|
||||
sceneSouth.Update(5);
|
||||
sceneNorth.Update(6);
|
||||
sceneSouth.Update(6);
|
||||
|
||||
// Check child position is correct.
|
||||
Assert.AreEqual(
|
||||
|
||||
Reference in New Issue
Block a user