diff options
author | Melanie | 2011-11-06 21:46:03 +0000 |
---|---|---|
committer | Melanie | 2011-11-06 21:46:03 +0000 |
commit | 69322b84cedd667d8dc3d18e475ae8c15a7fad50 (patch) | |
tree | f9277aaef0a449582de5885f94585a1bb22aaa4b /OpenSim/Region | |
parent | Merge branch 'master' into bigmerge (diff) | |
download | opensim-SC-69322b84cedd667d8dc3d18e475ae8c15a7fad50.zip opensim-SC-69322b84cedd667d8dc3d18e475ae8c15a7fad50.tar.gz opensim-SC-69322b84cedd667d8dc3d18e475ae8c15a7fad50.tar.bz2 opensim-SC-69322b84cedd667d8dc3d18e475ae8c15a7fad50.tar.xz |
Fix up failing test to compensate for changed sit target offset
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs b/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs index d2b79f7..2e147fb 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs | |||
@@ -287,7 +287,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC.Tests | |||
287 | // default avatar. | 287 | // default avatar. |
288 | Assert.That( | 288 | Assert.That( |
289 | npc.AbsolutePosition, | 289 | npc.AbsolutePosition, |
290 | Is.EqualTo(part.AbsolutePosition + new Vector3(0, 0, 0.8857438f))); | 290 | Is.EqualTo(part.AbsolutePosition + new Vector3(0, 0, 0.8454993)); |
291 | 291 | ||
292 | npcModule.Stand(npc.UUID, scene); | 292 | npcModule.Stand(npc.UUID, scene); |
293 | 293 | ||
@@ -295,4 +295,4 @@ namespace OpenSim.Region.OptionalModules.World.NPC.Tests | |||
295 | Assert.That(npc.ParentID, Is.EqualTo(0)); | 295 | Assert.That(npc.ParentID, Is.EqualTo(0)); |
296 | } | 296 | } |
297 | } | 297 | } |
298 | } \ No newline at end of file | 298 | } |