Try to normalize the creatorData of scene object parts with the trailing '/'. What a nightmare this '/' is!

cpu-performance
Diva Canto 2013-07-06 18:37:54 -07:00
parent 803e5498b0
commit 1286677352
1 changed files with 4 additions and 0 deletions

View File

@ -505,7 +505,11 @@ namespace OpenSim.Region.Framework.Scenes
CreatorID = uuid; CreatorID = uuid;
} }
if (parts.Length >= 2) if (parts.Length >= 2)
{
CreatorData = parts[1]; CreatorData = parts[1];
if (!CreatorData.EndsWith("/"))
CreatorData += "/";
}
if (parts.Length >= 3) if (parts.Length >= 3)
name = parts[2]; name = parts[2];