aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/SimClient.cs
diff options
context:
space:
mode:
authorMW2007-03-26 19:05:50 +0000
committerMW2007-03-26 19:05:50 +0000
commitff71d2d4cd82a3a6ded4b5a5246f98ba6db8773a (patch)
treec7095c93ac3ce4e3a294caa0b4144c8cbfd2c0ee /OpenSim.RegionServer/SimClient.cs
parentAdded a very very very basic Web front end for admin use - ready to be used i... (diff)
downloadopensim-SC_OLD-ff71d2d4cd82a3a6ded4b5a5246f98ba6db8773a.zip
opensim-SC_OLD-ff71d2d4cd82a3a6ded4b5a5246f98ba6db8773a.tar.gz
opensim-SC_OLD-ff71d2d4cd82a3a6ded4b5a5246f98ba6db8773a.tar.bz2
opensim-SC_OLD-ff71d2d4cd82a3a6ded4b5a5246f98ba6db8773a.tar.xz
preparing to add full clothes/body part support.
Currently you can: now create new body parts and clothes. edit those clothes and wear them. But currently you will not see most of the edited effects on your own avatar, although often other clients will see those changes on your avatar.
Diffstat (limited to 'OpenSim.RegionServer/SimClient.cs')
-rw-r--r--OpenSim.RegionServer/SimClient.cs14
1 files changed, 11 insertions, 3 deletions
diff --git a/OpenSim.RegionServer/SimClient.cs b/OpenSim.RegionServer/SimClient.cs
index 811e8b8..ef82d98 100644
--- a/OpenSim.RegionServer/SimClient.cs
+++ b/OpenSim.RegionServer/SimClient.cs
@@ -124,6 +124,15 @@ namespace OpenSim
124 } 124 }
125 OpenSimRoot.Instance.LocalWorld.GetInitialPrims(this); 125 OpenSimRoot.Instance.LocalWorld.GetInitialPrims(this);
126 break; 126 break;
127 case PacketType.AgentIsNowWearing:
128 AgentIsNowWearingPacket wear = (AgentIsNowWearingPacket)Pack;
129 //Console.WriteLine(Pack.ToString());
130 break;
131 case PacketType.AgentSetAppearance:
132 AgentSetAppearancePacket appear = (AgentSetAppearancePacket)Pack;
133 // Console.WriteLine(appear.ToString());
134 this.ClientAvatar.SetAppearance(appear);
135 break;
127 case PacketType.ObjectAdd: 136 case PacketType.ObjectAdd:
128 OpenSimRoot.Instance.LocalWorld.AddNewPrim((ObjectAddPacket)Pack, this); 137 OpenSimRoot.Instance.LocalWorld.AddNewPrim((ObjectAddPacket)Pack, this);
129 break; 138 break;
@@ -279,7 +288,7 @@ namespace OpenSim
279 288
280 break; 289 break;
281 case PacketType.AssetUploadRequest: 290 case PacketType.AssetUploadRequest:
282 //this.debug = true; 291 this.debug = true;
283 AssetUploadRequestPacket request = (AssetUploadRequestPacket)Pack; 292 AssetUploadRequestPacket request = (AssetUploadRequestPacket)Pack;
284 // Console.WriteLine(Pack.ToString()); 293 // Console.WriteLine(Pack.ToString());
285 // if (request.AssetBlock.Type == 0) 294 // if (request.AssetBlock.Type == 0)
@@ -318,7 +327,6 @@ namespace OpenSim
318 OpenSimRoot.Instance.InventoryCache.FetchInventoryDescendents(this, Fetch); 327 OpenSimRoot.Instance.InventoryCache.FetchInventoryDescendents(this, Fetch);
319 break; 328 break;
320 case PacketType.UpdateInventoryItem: 329 case PacketType.UpdateInventoryItem:
321 /*
322 UpdateInventoryItemPacket update = (UpdateInventoryItemPacket)Pack; 330 UpdateInventoryItemPacket update = (UpdateInventoryItemPacket)Pack;
323 for (int i = 0; i < update.InventoryData.Length; i++) 331 for (int i = 0; i < update.InventoryData.Length; i++)
324 { 332 {
@@ -338,7 +346,7 @@ namespace OpenSim
338 } 346 }
339 } 347 }
340 } 348 }
341 }*/ 349 }
342 break; 350 break;
343 case PacketType.ViewerEffect: 351 case PacketType.ViewerEffect:
344 ViewerEffectPacket viewer = (ViewerEffectPacket)Pack; 352 ViewerEffectPacket viewer = (ViewerEffectPacket)Pack;