diff options
author | Diva Canto | 2013-07-06 18:37:54 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-06 18:37:54 -0700 |
commit | 128667735291234c4655216af0fdfc6f07355e20 (patch) | |
tree | ea9f6cead55c7dbca7c2254def7c747164b541a7 /OpenSim/Region/Framework/Scenes | |
parent | A little more debug (diff) | |
download | opensim-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')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 4 |
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 | ||