aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-10-24 21:29:57 +0100
committerJustin Clark-Casey (justincc)2013-10-24 21:29:57 +0100
commit31989bd51e5bdabbfab874ed79531df5ca172ec1 (patch)
tree2db588b20ec462681e9818b9aa1b636a14173255 /OpenSim/Region
parentComment out LLUDPServer.BroadcastPacket() to reduce code complexity. Appears... (diff)
downloadopensim-SC_OLD-31989bd51e5bdabbfab874ed79531df5ca172ec1.zip
opensim-SC_OLD-31989bd51e5bdabbfab874ed79531df5ca172ec1.tar.gz
opensim-SC_OLD-31989bd51e5bdabbfab874ed79531df5ca172ec1.tar.bz2
opensim-SC_OLD-31989bd51e5bdabbfab874ed79531df5ca172ec1.tar.xz
Show texture ids for full object/part info console commmds
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs17
1 files changed, 16 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs
index 0e79733..e77f0aa 100644
--- a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs
+++ b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs
@@ -631,7 +631,22 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
631 cdl.AddRow("SculptType", s.SculptType); 631 cdl.AddRow("SculptType", s.SculptType);
632 cdl.AddRow("State", s.State); 632 cdl.AddRow("State", s.State);
633 633
634 // TODO, unpack and display texture entries 634 // TODO, need to display more information about textures but in a compact format
635 // to stop output becoming huge.
636 for (int i = 0; i < sop.GetNumberOfSides(); i++)
637 {
638 Primitive.TextureEntryFace teFace = s.Textures.FaceTextures[i];
639
640 UUID textureID;
641
642 if (teFace != null)
643 textureID = teFace.TextureID;
644 else
645 textureID = s.Textures.DefaultTexture.TextureID;
646
647 cdl.AddRow(string.Format("Face {0} texture ID", i), textureID);
648 }
649
635 //cdl.AddRow("Textures", string.Format("{0} entries", s.Textures. 650 //cdl.AddRow("Textures", string.Format("{0} entries", s.Textures.
636 } 651 }
637 652