diff options
author | Justin Clarke Casey | 2009-01-21 21:14:17 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-01-21 21:14:17 +0000 |
commit | 37fa6775488ab237a4537d49b92a8d52b0497b98 (patch) | |
tree | 805183f2f807a8a051ba64878c079fb0a8c7fe17 /OpenSim/Tests/Common | |
parent | * Restore commented out isdone assertions in TextureSendTests.T010_SendPkg() (diff) | |
download | opensim-SC_OLD-37fa6775488ab237a4537d49b92a8d52b0497b98.zip opensim-SC_OLD-37fa6775488ab237a4537d49b92a8d52b0497b98.tar.gz opensim-SC_OLD-37fa6775488ab237a4537d49b92a8d52b0497b98.tar.bz2 opensim-SC_OLD-37fa6775488ab237a4537d49b92a8d52b0497b98.tar.xz |
* refactor: Extract caps related code from scene and put into a region module
* No functional changes in this revision
Diffstat (limited to 'OpenSim/Tests/Common')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index 6254272..62350b9 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -33,6 +33,7 @@ using log4net; | |||
33 | using OpenMetaverse; | 33 | using OpenMetaverse; |
34 | using OpenMetaverse.Packets; | 34 | using OpenMetaverse.Packets; |
35 | using OpenSim.Framework; | 35 | using OpenSim.Framework; |
36 | using OpenSim.Region.Environment.Interfaces; | ||
36 | using OpenSim.Region.Environment.Scenes; | 37 | using OpenSim.Region.Environment.Scenes; |
37 | 38 | ||
38 | namespace OpenSim.Tests.Common.Mock | 39 | namespace OpenSim.Tests.Common.Mock |
@@ -492,8 +493,10 @@ namespace OpenSim.Tests.Common.Mock | |||
492 | agentData.child = false; | 493 | agentData.child = false; |
493 | agentData.firstname = m_firstName; | 494 | agentData.firstname = m_firstName; |
494 | agentData.lastname = m_lastName; | 495 | agentData.lastname = m_lastName; |
495 | agentData.CapsPath = m_scene.GetCapsPath(m_agentId); | 496 | |
496 | agentData.ChildrenCapSeeds = new Dictionary<ulong,string>(m_scene.GetChildrenSeeds(m_agentId)); | 497 | ICapabilitiesModule capsModule = m_scene.RequestModuleInterface<ICapabilitiesModule>(); |
498 | agentData.CapsPath = capsModule.GetCapsPath(m_agentId); | ||
499 | agentData.ChildrenCapSeeds = new Dictionary<ulong,string>(capsModule.GetChildrenSeeds(m_agentId)); | ||
497 | 500 | ||
498 | return agentData; | 501 | return agentData; |
499 | } | 502 | } |