Add local and UUID to information output of "show object" and "show part" region console commands
parent
0f312c58ca
commit
53112f1e80
|
@ -481,6 +481,8 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
|
||||||
{
|
{
|
||||||
sb.AppendFormat("Name: {0}\n", so.Name);
|
sb.AppendFormat("Name: {0}\n", so.Name);
|
||||||
sb.AppendFormat("Description: {0}\n", so.Description);
|
sb.AppendFormat("Description: {0}\n", so.Description);
|
||||||
|
sb.AppendFormat("Local ID {0}\n", so.LocalId);
|
||||||
|
sb.AppendFormat("UUID {0}\n", so.UUID);
|
||||||
sb.AppendFormat("Location: {0} @ {1}\n", so.AbsolutePosition, so.Scene.RegionInfo.RegionName);
|
sb.AppendFormat("Location: {0} @ {1}\n", so.AbsolutePosition, so.Scene.RegionInfo.RegionName);
|
||||||
sb.AppendFormat("Parts: {0}\n", so.PrimCount);
|
sb.AppendFormat("Parts: {0}\n", so.PrimCount);
|
||||||
sb.AppendFormat("Flags: {0}\n", so.RootPart.Flags);
|
sb.AppendFormat("Flags: {0}\n", so.RootPart.Flags);
|
||||||
|
@ -492,6 +494,8 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
|
||||||
{
|
{
|
||||||
sb.AppendFormat("Name: {0}\n", sop.Name);
|
sb.AppendFormat("Name: {0}\n", sop.Name);
|
||||||
sb.AppendFormat("Description: {0}\n", sop.Description);
|
sb.AppendFormat("Description: {0}\n", sop.Description);
|
||||||
|
sb.AppendFormat("Local ID {0}\n", sop.LocalId);
|
||||||
|
sb.AppendFormat("UUID {0}\n", sop.UUID);
|
||||||
sb.AppendFormat("Location: {0} @ {1}\n", sop.AbsolutePosition, sop.ParentGroup.Scene.RegionInfo.RegionName);
|
sb.AppendFormat("Location: {0} @ {1}\n", sop.AbsolutePosition, sop.ParentGroup.Scene.RegionInfo.RegionName);
|
||||||
sb.AppendFormat("Parent: {0}",
|
sb.AppendFormat("Parent: {0}",
|
||||||
sop.IsRoot ? "Is Root\n" : string.Format("{0} {1}\n", sop.ParentGroup.Name, sop.ParentGroup.UUID));
|
sop.IsRoot ? "Is Root\n" : string.Format("{0} {1}\n", sop.ParentGroup.Name, sop.ParentGroup.UUID));
|
||||||
|
|
Loading…
Reference in New Issue