mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Merge branch 'master' into careminster
Conflicts: OpenSim/Data/MySQL/MySQLSimulationData.cs OpenSim/Data/MySQL/Resources/RegionStore.migrations OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs OpenSim/Region/CoreModules/World/LightShare/LightShareModule.cs OpenSim/Region/Framework/Scenes/Scene.cs OpenSim/Region/Framework/Scenes/ScenePresence.cs OpenSim/Region/Framework/Scenes/Tests/ScenePresenceCapabilityTests.cs OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
This commit is contained in:
@@ -84,7 +84,7 @@ namespace OpenSim.Tests.Common
|
||||
|
||||
TestClient neighbourTc = new TestClient(newAgent, neighbourScene);
|
||||
neighbourTcs.Add(neighbourTc);
|
||||
neighbourScene.AddNewClient(neighbourTc, PresenceType.User);
|
||||
neighbourScene.AddNewAgent(neighbourTc, PresenceType.User);
|
||||
};
|
||||
}
|
||||
|
||||
@@ -119,7 +119,7 @@ namespace OpenSim.Tests.Common
|
||||
|
||||
TestClient destinationClient = new TestClient(newAgent, destinationScene);
|
||||
destinationClients.Add(destinationClient);
|
||||
destinationScene.AddNewClient(destinationClient, PresenceType.User);
|
||||
destinationScene.AddNewAgent(destinationClient, PresenceType.User);
|
||||
|
||||
ThreadPool.UnsafeQueueUserWorkItem(o => destinationClient.CompleteMovement(), null);
|
||||
};
|
||||
|
||||
@@ -548,7 +548,7 @@ namespace OpenSim.Tests.Common
|
||||
Console.WriteLine("NewUserConnection failed: " + reason);
|
||||
|
||||
// Stage 2: add the new client as a child agent to the scene
|
||||
scene.AddNewClient(client, PresenceType.User);
|
||||
scene.AddNewAgent(client, PresenceType.User);
|
||||
|
||||
return scene.GetScenePresence(client.AgentId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user