aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorDiva Canto2013-07-06 18:37:54 -0700
committerDiva Canto2013-07-06 18:37:54 -0700
commit128667735291234c4655216af0fdfc6f07355e20 (patch)
treeea9f6cead55c7dbca7c2254def7c747164b541a7 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentA little more debug (diff)
downloadopensim-SC-128667735291234c4655216af0fdfc6f07355e20.zip
opensim-SC-128667735291234c4655216af0fdfc6f07355e20.tar.gz
opensim-SC-128667735291234c4655216af0fdfc6f07355e20.tar.bz2
opensim-SC-128667735291234c4655216af0fdfc6f07355e20.tar.xz
Try to normalize the creatorData of scene object parts with the trailing '/'. What a nightmare this '/' is!
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 482d958..f287a34 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -505,7 +505,11 @@ namespace OpenSim.Region.Framework.Scenes
505 CreatorID = uuid; 505 CreatorID = uuid;
506 } 506 }
507 if (parts.Length >= 2) 507 if (parts.Length >= 2)
508 {
508 CreatorData = parts[1]; 509 CreatorData = parts[1];
510 if (!CreatorData.EndsWith("/"))
511 CreatorData += "/";
512 }
509 if (parts.Length >= 3) 513 if (parts.Length >= 3)
510 name = parts[2]; 514 name = parts[2];
511 515