diff options
author | Justin Clarke Casey | 2008-01-10 01:39:49 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-01-10 01:39:49 +0000 |
commit | b0904f471d9b4b80651f8354e57ad26460314dbb (patch) | |
tree | 61015c1889e97de2b35e9ae41e23e80f9761e05a /OpenSim/Region | |
parent | Minor spelling change on NotecardsAssetSet.xml. The example notecard should ... (diff) | |
download | opensim-SC_OLD-b0904f471d9b4b80651f8354e57ad26460314dbb.zip opensim-SC_OLD-b0904f471d9b4b80651f8354e57ad26460314dbb.tar.gz opensim-SC_OLD-b0904f471d9b4b80651f8354e57ad26460314dbb.tar.bz2 opensim-SC_OLD-b0904f471d9b4b80651f8354e57ad26460314dbb.tar.xz |
Fix r2959 - last letter was being sliced off region prim renames
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index c623e55..6b4afe6 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -1074,12 +1074,12 @@ namespace OpenSim.Region.Environment.Scenes | |||
1074 | } | 1074 | } |
1075 | 1075 | ||
1076 | /// <summary> | 1076 | /// <summary> |
1077 | /// | 1077 | /// Set the name of a prim |
1078 | /// </summary> | 1078 | /// </summary> |
1079 | /// <param name="name"></param> | 1079 | /// <param name="name"></param> |
1080 | /// <param name="localID"></param> | ||
1080 | public void SetPartName(string name, uint localID) | 1081 | public void SetPartName(string name, uint localID) |
1081 | { | 1082 | { |
1082 | name = name.Remove(name.Length - 1, 1); | ||
1083 | SceneObjectPart part = GetChildPart(localID); | 1083 | SceneObjectPart part = GetChildPart(localID); |
1084 | if (part != null) | 1084 | if (part != null) |
1085 | { | 1085 | { |