aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
diff options
context:
space:
mode:
authorMW2007-07-11 18:32:32 +0000
committerMW2007-07-11 18:32:32 +0000
commit17ddb8b49323777b4678270ebbf4859dd8842abd (patch)
tree048d805596550f01ed7354c4e7b313146e1e1513 /OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
parentMore work on UserProfile and inventory cache (still currently not enabled). (diff)
downloadopensim-SC-17ddb8b49323777b4678270ebbf4859dd8842abd.zip
opensim-SC-17ddb8b49323777b4678270ebbf4859dd8842abd.tar.gz
opensim-SC-17ddb8b49323777b4678270ebbf4859dd8842abd.tar.bz2
opensim-SC-17ddb8b49323777b4678270ebbf4859dd8842abd.tar.xz
Hopefully texturing prims should now work correctly.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs13
1 files changed, 12 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
index 69eaa75..1753772 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
@@ -421,7 +421,18 @@ namespace OpenSim.Region.Environment.Scenes
421 /// <param name="remoteClient"></param> 421 /// <param name="remoteClient"></param>
422 public void UpdatePrimTexture(uint localID, byte[] texture, IClientAPI remoteClient) 422 public void UpdatePrimTexture(uint localID, byte[] texture, IClientAPI remoteClient)
423 { 423 {
424 424 Primitive prim = null;
425 foreach (EntityBase ent in Entities.Values)
426 {
427 if (ent is SceneObject)
428 {
429 prim = ((SceneObject)ent).HasChildPrim(localID);
430 if (prim != null)
431 {
432 prim.UpdateTextureEntry(texture);
433 }
434 }
435 }
425 } 436 }
426 437
427 /// <summary> 438 /// <summary>