aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Objects
diff options
context:
space:
mode:
authorMelanie2012-04-29 02:23:54 +0100
committerMelanie2012-04-29 02:23:54 +0100
commitad12b5df49b5bc214a3758e2399858d8c98ce24e (patch)
tree9a630ee336bab317a07ec988213aaa17fed13c9b /OpenSim/Region/CoreModules/World/Objects
parentMerge branch 'avination' (diff)
parentComment out debug [ASYNC DELETER] messages for now. (diff)
downloadopensim-SC-ad12b5df49b5bc214a3758e2399858d8c98ce24e.zip
opensim-SC-ad12b5df49b5bc214a3758e2399858d8c98ce24e.tar.gz
opensim-SC-ad12b5df49b5bc214a3758e2399858d8c98ce24e.tar.bz2
opensim-SC-ad12b5df49b5bc214a3758e2399858d8c98ce24e.tar.xz
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Objects')
-rw-r--r--OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs24
1 files changed, 15 insertions, 9 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs
index 06fea58..5e928f3 100644
--- a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs
+++ b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs
@@ -78,45 +78,49 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
78 m_scene = scene; 78 m_scene = scene;
79 m_console = MainConsole.Instance; 79 m_console = MainConsole.Instance;
80 80
81 m_console.Commands.AddCommand("Regions", false, "delete object owner", 81 m_console.Commands.AddCommand("Objects", false, "delete object owner",
82 "delete object owner <UUID>", 82 "delete object owner <UUID>",
83 "Delete a scene object by owner", HandleDeleteObject); 83 "Delete a scene object by owner", HandleDeleteObject);
84 m_console.Commands.AddCommand("Regions", false, "delete object creator", 84
85 m_console.Commands.AddCommand("Objects", false, "delete object creator",
85 "delete object creator <UUID>", 86 "delete object creator <UUID>",
86 "Delete a scene object by creator", HandleDeleteObject); 87 "Delete a scene object by creator", HandleDeleteObject);
87 m_console.Commands.AddCommand("Regions", false, "delete object uuid", 88
89 m_console.Commands.AddCommand("Objects", false, "delete object uuid",
88 "delete object uuid <UUID>", 90 "delete object uuid <UUID>",
89 "Delete a scene object by uuid", HandleDeleteObject); 91 "Delete a scene object by uuid", HandleDeleteObject);
90 m_console.Commands.AddCommand("Regions", false, "delete object name", 92
93 m_console.Commands.AddCommand("Objects", false, "delete object name",
91 "delete object name <name>", 94 "delete object name <name>",
92 "Delete a scene object by name", HandleDeleteObject); 95 "Delete a scene object by name", HandleDeleteObject);
93 m_console.Commands.AddCommand("Regions", false, "delete object outside", 96
97 m_console.Commands.AddCommand("Objects", false, "delete object outside",
94 "delete object outside", 98 "delete object outside",
95 "Delete all scene objects outside region boundaries", HandleDeleteObject); 99 "Delete all scene objects outside region boundaries", HandleDeleteObject);
96 100
97 m_console.Commands.AddCommand( 101 m_console.Commands.AddCommand(
98 "Regions", 102 "Objects",
99 false, 103 false,
100 "show object uuid", 104 "show object uuid",
101 "show object uuid <UUID>", 105 "show object uuid <UUID>",
102 "Show details of a scene object with the given UUID", HandleShowObjectByUuid); 106 "Show details of a scene object with the given UUID", HandleShowObjectByUuid);
103 107
104 m_console.Commands.AddCommand( 108 m_console.Commands.AddCommand(
105 "Regions", 109 "Objects",
106 false, 110 false,
107 "show object name", 111 "show object name",
108 "show object name <name>", 112 "show object name <name>",
109 "Show details of scene objects with the given name", HandleShowObjectByName); 113 "Show details of scene objects with the given name", HandleShowObjectByName);
110 114
111 m_console.Commands.AddCommand( 115 m_console.Commands.AddCommand(
112 "Regions", 116 "Objects",
113 false, 117 false,
114 "show part uuid", 118 "show part uuid",
115 "show part uuid <UUID>", 119 "show part uuid <UUID>",
116 "Show details of a scene object parts with the given UUID", HandleShowPartByUuid); 120 "Show details of a scene object parts with the given UUID", HandleShowPartByUuid);
117 121
118 m_console.Commands.AddCommand( 122 m_console.Commands.AddCommand(
119 "Regions", 123 "Objects",
120 false, 124 false,
121 "show part name", 125 "show part name",
122 "show part name <name>", 126 "show part name <name>",
@@ -271,6 +275,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
271 sb.AppendFormat("Description: {0}\n", so.Description); 275 sb.AppendFormat("Description: {0}\n", so.Description);
272 sb.AppendFormat("Location: {0} @ {1}\n", so.AbsolutePosition, so.Scene.RegionInfo.RegionName); 276 sb.AppendFormat("Location: {0} @ {1}\n", so.AbsolutePosition, so.Scene.RegionInfo.RegionName);
273 sb.AppendFormat("Parts: {0}\n", so.PrimCount); 277 sb.AppendFormat("Parts: {0}\n", so.PrimCount);
278 sb.AppendFormat("Flags: {0}\n", so.RootPart.Flags);
274 279
275 return sb; 280 return sb;
276 } 281 }
@@ -283,6 +288,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
283 sb.AppendFormat("Parent: {0}", 288 sb.AppendFormat("Parent: {0}",
284 sop.IsRoot ? "Is Root\n" : string.Format("{0} {1}\n", sop.ParentGroup.Name, sop.ParentGroup.UUID)); 289 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); 290 sb.AppendFormat("Link number: {0}\n", sop.LinkNum);
291 sb.AppendFormat("Flags: {0}\n", sop.Flags);
286 292
287 return sb; 293 return sb;
288 } 294 }