aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorMW2007-09-08 11:08:38 +0000
committerMW2007-09-08 11:08:38 +0000
commit741a967bb3bf67c986775523996327a3858f3933 (patch)
treea9bf478f54a5a71fb974c7a1b462d67a217e4042 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
parentCut down on the number of compile warnings. Now down to 5: 4 are related to u... (diff)
downloadopensim-SC-741a967bb3bf67c986775523996327a3858f3933.zip
opensim-SC-741a967bb3bf67c986775523996327a3858f3933.tar.gz
opensim-SC-741a967bb3bf67c986775523996327a3858f3933.tar.bz2
opensim-SC-741a967bb3bf67c986775523996327a3858f3933.tar.xz
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.cs1
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 {