aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2011-11-06 21:46:03 +0000
committerMelanie2011-11-06 21:46:03 +0000
commit69322b84cedd667d8dc3d18e475ae8c15a7fad50 (patch)
treef9277aaef0a449582de5885f94585a1bb22aaa4b /OpenSim
parentMerge branch 'master' into bigmerge (diff)
downloadopensim-SC_OLD-69322b84cedd667d8dc3d18e475ae8c15a7fad50.zip
opensim-SC_OLD-69322b84cedd667d8dc3d18e475ae8c15a7fad50.tar.gz
opensim-SC_OLD-69322b84cedd667d8dc3d18e475ae8c15a7fad50.tar.bz2
opensim-SC_OLD-69322b84cedd667d8dc3d18e475ae8c15a7fad50.tar.xz
Fix up failing test to compensate for changed sit target offset
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs4
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}