mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
Add number of inventory items to information displayed via "show part" console command
This commit is contained in:
@@ -456,6 +456,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
|
||||
sb.AppendFormat("Parent: {0}",
|
||||
sop.IsRoot ? "Is Root\n" : string.Format("{0} {1}\n", sop.ParentGroup.Name, sop.ParentGroup.UUID));
|
||||
sb.AppendFormat("Link number: {0}\n", sop.LinkNum);
|
||||
sb.AppendFormat("Items: {0}\n", sop.Inventory.Count);
|
||||
sb.AppendFormat("Flags: {0}\n", sop.Flags);
|
||||
|
||||
return sb;
|
||||
|
||||
Reference in New Issue
Block a user