Make "show appearance" a synonym for "appearance show"

0.7.2-post-fixes
Justin Clark-Casey (justincc) 2011-12-06 18:36:11 +00:00
parent ddb74bc68d
commit 235147c857
1 changed files with 8 additions and 2 deletions

View File

@ -94,9 +94,15 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance
lock (m_scenes) lock (m_scenes)
m_scenes[scene.RegionInfo.RegionID] = scene; m_scenes[scene.RegionInfo.RegionID] = scene;
scene.AddCommand(
this, "show appearance",
"show appearance [<first-name> <last-name>]",
"Synonym for 'appearance show'",
HandleShowAppearanceCommand);
scene.AddCommand( scene.AddCommand(
this, "appearance show", this, "appearance show",
"appearance show", "appearance show [<first-name> <last-name>]",
"Show appearance information for each avatar in the simulator.", "Show appearance information for each avatar in the simulator.",
"This command checks whether the simulator has all the baked textures required to display an avatar to other viewers. " "This command checks whether the simulator has all the baked textures required to display an avatar to other viewers. "
+ "\nIf not, then appearance is 'corrupt' and other avatars will continue to see it as a cloud." + "\nIf not, then appearance is 'corrupt' and other avatars will continue to see it as a cloud."