diff options
author | Justin Clark-Casey (justincc) | 2011-08-06 02:17:41 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-06 02:17:41 +0100 |
commit | 85e07c78fbed9e85c142c0f565c27015ad95769d (patch) | |
tree | fbf8db8ef6c3084343ca83b8901f232755b3fcfc /OpenSim/Region/CoreModules/Avatar | |
parent | rip out sog generation methods in ScenePresenceAgentTests and use SceneHelper... (diff) | |
download | opensim-SC-85e07c78fbed9e85c142c0f565c27015ad95769d.zip opensim-SC-85e07c78fbed9e85c142c0f565c27015ad95769d.tar.gz opensim-SC-85e07c78fbed9e85c142c0f565c27015ad95769d.tar.bz2 opensim-SC-85e07c78fbed9e85c142c0f565c27015ad95769d.tar.xz |
refactor: Change SceneHelpers.AddClient() to AddScenePresence().
This seems to make more sense as we can get SP.ControllingClient
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/AvatarFactory/Tests/AvatarFactoryModuleTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/Tests/AvatarFactoryModuleTests.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/Tests/AvatarFactoryModuleTests.cs index 4e83fa7..1bd3b6e 100644 --- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/Tests/AvatarFactoryModuleTests.cs +++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/Tests/AvatarFactoryModuleTests.cs | |||
@@ -52,7 +52,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory | |||
52 | AvatarFactoryModule afm = new AvatarFactoryModule(); | 52 | AvatarFactoryModule afm = new AvatarFactoryModule(); |
53 | TestScene scene = SceneHelpers.SetupScene(); | 53 | TestScene scene = SceneHelpers.SetupScene(); |
54 | SceneHelpers.SetupSceneModules(scene, afm); | 54 | SceneHelpers.SetupSceneModules(scene, afm); |
55 | TestClient tc = SceneHelpers.AddClient(scene, userId); | 55 | IClientAPI tc = SceneHelpers.AddScenePresence(scene, userId).ControllingClient; |
56 | 56 | ||
57 | byte[] visualParams = new byte[AvatarAppearance.VISUALPARAM_COUNT]; | 57 | byte[] visualParams = new byte[AvatarAppearance.VISUALPARAM_COUNT]; |
58 | for (byte i = 0; i < visualParams.Length; i++) | 58 | for (byte i = 0; i < visualParams.Length; i++) |