diff options
Added region console command "edit-scale". To use first use change-region to set the active region as the one you want. Then use "edit-scale <primitivename> <xvalue> <yvalue> <zvalue>" so a example is "edit-scale myprimitive 30.0 25.0 35.0" [ Note the primitive name can't have spaces in it. Also if there is more than one primitive with that name in the region, then it will edit the first one it finds. Also it currently doesn't search through the sub primitives of linked groups. So the primitive needs to be either a single primitive object or the root prim of a group. ]
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index b202f3c..45d975c 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -606,6 +606,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
606 | /// <param name="name"></param> | 606 | /// <param name="name"></param> |
607 | public void SetPartName(string name, uint localID) | 607 | public void SetPartName(string name, uint localID) |
608 | { | 608 | { |
609 | name = name.Remove(name.Length - 1, 1); | ||
609 | SceneObjectPart part = this.GetChildPart(localID); | 610 | SceneObjectPart part = this.GetChildPart(localID); |
610 | if (part != null) | 611 | if (part != null) |
611 | { | 612 | { |