aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.World/Avatar.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/OpenSim.World/Avatar.cs')
-rw-r--r--OpenSim/OpenSim.World/Avatar.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/OpenSim.World/Avatar.cs b/OpenSim/OpenSim.World/Avatar.cs
index 5b66fce..bbc3a58 100644
--- a/OpenSim/OpenSim.World/Avatar.cs
+++ b/OpenSim/OpenSim.World/Avatar.cs
@@ -41,19 +41,21 @@ namespace OpenSim.world
41 41
42 public Avatar(IClientAPI TheClient, World world, Dictionary<uint, IClientAPI> clientThreads, RegionInfo regionDat) 42 public Avatar(IClientAPI TheClient, World world, Dictionary<uint, IClientAPI> clientThreads, RegionInfo regionDat)
43 { 43 {
44 Console.WriteLine("avatar point 1");
44 m_world = world; 45 m_world = world;
45 // m_clientThreads = clientThreads; 46 // m_clientThreads = clientThreads;
46 m_regionName = regionData.RegionName; 47 m_regionName = regionData.RegionName;
47 m_regionHandle = regionData.RegionHandle; 48 m_regionHandle = regionData.RegionHandle;
48 m_regionTerraform = regionData.RegionTerraform; 49 m_regionTerraform = regionData.RegionTerraform;
49 m_regionWaterHeight = regionData.RegionWaterHeight; 50 m_regionWaterHeight = regionData.RegionWaterHeight;
50 51 Console.WriteLine("avatar point 2");
51 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Avatar.cs - Loading details from grid (DUMMY)"); 52 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Avatar.cs - Loading details from grid (DUMMY)");
52 ControllingClient = TheClient; 53 ControllingClient = TheClient;
53 this.firstname = ControllingClient.FirstName; 54 this.firstname = ControllingClient.FirstName;
54 this.lastname = ControllingClient.LastName; 55 this.lastname = ControllingClient.LastName;
55 localid = 8880000 + (this.m_world._localNumber++); 56 localid = 8880000 + (this.m_world._localNumber++);
56 Pos = ControllingClient.StartPos; 57 Pos = ControllingClient.StartPos;
58 Console.WriteLine("avatar point 3");
57 visualParams = new byte[218]; 59 visualParams = new byte[218];
58 for (int i = 0; i < 218; i++) 60 for (int i = 0; i < 218; i++)
59 { 61 {
@@ -68,7 +70,7 @@ namespace OpenSim.world
68 this.Wearables[0].ItemID = LLUUID.Random(); 70 this.Wearables[0].ItemID = LLUUID.Random();
69 71
70 this.avatarAppearanceTexture = new LLObject.TextureEntry(new LLUUID("00000000-0000-0000-5005-000000000005")); 72 this.avatarAppearanceTexture = new LLObject.TextureEntry(new LLUUID("00000000-0000-0000-5005-000000000005"));
71 73 Console.WriteLine("avatar point 4");
72 74
73 //register for events 75 //register for events
74 ControllingClient.OnRequestWearables += new GenericCall(this.SendOurAppearance); 76 ControllingClient.OnRequestWearables += new GenericCall(this.SendOurAppearance);