Add Location (relative), Rotation (Relative) and Rotation (World) to "show part" and other related console commands

0.7.4-extended
Justin Clark-Casey (justincc) 2013-03-29 01:31:37 +00:00
parent edfcec5041
commit 92cedc083f
1 changed files with 3 additions and 0 deletions

View File

@ -600,6 +600,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
cdl.AddRow("LightFalloff", s.LightFalloff); cdl.AddRow("LightFalloff", s.LightFalloff);
cdl.AddRow("LightIntensity", s.LightIntensity); cdl.AddRow("LightIntensity", s.LightIntensity);
cdl.AddRow("LightRadius", s.LightRadius); cdl.AddRow("LightRadius", s.LightRadius);
cdl.AddRow("Location (relative)", sop.RelativePosition);
cdl.AddRow("Media", string.Format("{0} entries", s.Media != null ? s.Media.Count.ToString() : "n/a")); cdl.AddRow("Media", string.Format("{0} entries", s.Media != null ? s.Media.Count.ToString() : "n/a"));
cdl.AddRow("PathBegin", s.PathBegin); cdl.AddRow("PathBegin", s.PathBegin);
cdl.AddRow("PathEnd", s.PathEnd); cdl.AddRow("PathEnd", s.PathEnd);
@ -622,6 +623,8 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands
cdl.AddRow("ProjectionFocus", s.ProjectionFocus); cdl.AddRow("ProjectionFocus", s.ProjectionFocus);
cdl.AddRow("ProjectionFOV", s.ProjectionFOV); cdl.AddRow("ProjectionFOV", s.ProjectionFOV);
cdl.AddRow("ProjectionTextureUUID", s.ProjectionTextureUUID); cdl.AddRow("ProjectionTextureUUID", s.ProjectionTextureUUID);
cdl.AddRow("Rotation (Relative)", sop.RotationOffset);
cdl.AddRow("Rotation (World)", sop.GetWorldRotation());
cdl.AddRow("Scale", s.Scale); cdl.AddRow("Scale", s.Scale);
cdl.AddRow( cdl.AddRow(
"SculptData", "SculptData",