refactor: slightly simplify test

bulletsim
Justin Clark-Casey (justincc) 2011-07-09 02:27:47 +01:00
parent 59aedbc94b
commit 457ba9d1a2
1 changed files with 1 additions and 4 deletions

View File

@ -52,10 +52,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
AvatarFactoryModule afm = new AvatarFactoryModule(); AvatarFactoryModule afm = new AvatarFactoryModule();
TestScene scene = SceneSetupHelpers.SetupScene(); TestScene scene = SceneSetupHelpers.SetupScene();
SceneSetupHelpers.SetupSceneModules(scene, afm); SceneSetupHelpers.SetupSceneModules(scene, afm);
TestClient tc = SceneSetupHelpers.AddClient(scene, userId);
AgentCircuitData acd = new AgentCircuitData();
acd.AgentID = userId;
TestClient tc = SceneSetupHelpers.AddClient(scene, acd);
byte[] visualParams = new byte[AvatarAppearance.VISUALPARAM_COUNT]; byte[] visualParams = new byte[AvatarAppearance.VISUALPARAM_COUNT];
for (byte i = 0; i < visualParams.Length; i++) for (byte i = 0; i < visualParams.Length; i++)