aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authornebadon2013-07-26 14:13:02 -0400
committernebadon2013-07-26 14:13:02 -0400
commitd27cc62458f8dc802adb278971ee084d51c4363b (patch)
treeb631988fa3eadb66a2c9049468aec840897b5f1f /OpenSim
parentForce map tiler to save Water.jpg as an actual jpeg format it seems even thou... (diff)
parentFix NPC regression test failures. (diff)
downloadopensim-SC_OLD-d27cc62458f8dc802adb278971ee084d51c4363b.zip
opensim-SC_OLD-d27cc62458f8dc802adb278971ee084d51c4363b.tar.gz
opensim-SC_OLD-d27cc62458f8dc802adb278971ee084d51c4363b.tar.bz2
opensim-SC_OLD-d27cc62458f8dc802adb278971ee084d51c4363b.tar.xz
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs4
-rw-r--r--OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs1
3 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 4044f0c..17da0d9 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1357,11 +1357,13 @@ namespace OpenSim.Region.Framework.Scenes
1357 client.Name, Scene.RegionInfo.RegionName, AbsolutePosition); 1357 client.Name, Scene.RegionInfo.RegionName, AbsolutePosition);
1358 1358
1359 // Make sure it's not a login agent. We don't want to wait for updates during login 1359 // Make sure it's not a login agent. We don't want to wait for updates during login
1360 if ((m_teleportFlags & TeleportFlags.ViaLogin) == 0) 1360 if (PresenceType != PresenceType.Npc && (m_teleportFlags & TeleportFlags.ViaLogin) == 0)
1361 {
1361 // Let's wait until UpdateAgent (called by departing region) is done 1362 // Let's wait until UpdateAgent (called by departing region) is done
1362 if (!WaitForUpdateAgent(client)) 1363 if (!WaitForUpdateAgent(client))
1363 // The sending region never sent the UpdateAgent data, we have to refuse 1364 // The sending region never sent the UpdateAgent data, we have to refuse
1364 return; 1365 return;
1366 }
1365 1367
1366 Vector3 look = Velocity; 1368 Vector3 look = Velocity;
1367 1369
diff --git a/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs b/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs
index bf23040..f841d5c 100644
--- a/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs
+++ b/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs
@@ -155,7 +155,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC.Tests
155 public void TestCreateWithAttachments() 155 public void TestCreateWithAttachments()
156 { 156 {
157 TestHelpers.InMethod(); 157 TestHelpers.InMethod();
158// log4net.Config.XmlConfigurator.Configure(); 158// TestHelpers.EnableLogging();
159 159
160 UUID userId = TestHelpers.ParseTail(0x1); 160 UUID userId = TestHelpers.ParseTail(0x1);
161 UserAccountHelpers.CreateUserWithInventory(m_scene, userId); 161 UserAccountHelpers.CreateUserWithInventory(m_scene, userId);
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs
index 74f010e..495e684 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs
@@ -180,6 +180,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
180 public void TestOsNpcLoadAppearance() 180 public void TestOsNpcLoadAppearance()
181 { 181 {
182 TestHelpers.InMethod(); 182 TestHelpers.InMethod();
183 //TestHelpers.EnableLogging();
183 184
184 // Store an avatar with a different height from default in a notecard. 185 // Store an avatar with a different height from default in a notecard.
185 UUID userId = TestHelpers.ParseTail(0x1); 186 UUID userId = TestHelpers.ParseTail(0x1);