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();
TestScene scene = SceneSetupHelpers.SetupScene();
SceneSetupHelpers.SetupSceneModules(scene, afm);
AgentCircuitData acd = new AgentCircuitData();
acd.AgentID = userId;
TestClient tc = SceneSetupHelpers.AddClient(scene, acd);
TestClient tc = SceneSetupHelpers.AddClient(scene, userId);
byte[] visualParams = new byte[AvatarAppearance.VISUALPARAM_COUNT];
for (byte i = 0; i < visualParams.Length; i++)