diff options
author | Justin Clark-Casey (justincc) | 2012-04-27 23:38:25 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-04-27 23:38:25 +0100 |
commit | d25469f66e0f78f42cc6b77b169047e451e11bdb (patch) | |
tree | fef4d24eb94b07f06d8b495e430fb66247b4be58 /OpenSim | |
parent | Log the full exception when errors occur in BaseHttpServer (diff) | |
download | opensim-SC-d25469f66e0f78f42cc6b77b169047e451e11bdb.zip opensim-SC-d25469f66e0f78f42cc6b77b169047e451e11bdb.tar.gz opensim-SC-d25469f66e0f78f42cc6b77b169047e451e11bdb.tar.bz2 opensim-SC-d25469f66e0f78f42cc6b77b169047e451e11bdb.tar.xz |
Add flags information (phantom, physics, etc.) to "show object" and "show part" console commands
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs index 06fea58..8da9139 100644 --- a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs +++ b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs | |||
@@ -271,6 +271,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands | |||
271 | sb.AppendFormat("Description: {0}\n", so.Description); | 271 | sb.AppendFormat("Description: {0}\n", so.Description); |
272 | sb.AppendFormat("Location: {0} @ {1}\n", so.AbsolutePosition, so.Scene.RegionInfo.RegionName); | 272 | sb.AppendFormat("Location: {0} @ {1}\n", so.AbsolutePosition, so.Scene.RegionInfo.RegionName); |
273 | sb.AppendFormat("Parts: {0}\n", so.PrimCount); | 273 | sb.AppendFormat("Parts: {0}\n", so.PrimCount); |
274 | sb.AppendFormat("Flags: {0}\n", so.RootPart.Flags); | ||
274 | 275 | ||
275 | return sb; | 276 | return sb; |
276 | } | 277 | } |
@@ -283,6 +284,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands | |||
283 | sb.AppendFormat("Parent: {0}", | 284 | sb.AppendFormat("Parent: {0}", |
284 | sop.IsRoot ? "Is Root\n" : string.Format("{0} {1}\n", sop.ParentGroup.Name, sop.ParentGroup.UUID)); | 285 | sop.IsRoot ? "Is Root\n" : string.Format("{0} {1}\n", sop.ParentGroup.Name, sop.ParentGroup.UUID)); |
285 | sb.AppendFormat("Link number: {0}\n", sop.LinkNum); | 286 | sb.AppendFormat("Link number: {0}\n", sop.LinkNum); |
287 | sb.AppendFormat("Flags: {0}\n", sop.Flags); | ||
286 | 288 | ||
287 | return sb; | 289 | return sb; |
288 | } | 290 | } |