also add avatar id to an updated media url - not just new ones

prebuild-update
Justin Clark-Casey (justincc) 2010-07-21 19:32:05 +01:00
parent 6ef2a72c70
commit 8e8076c947
1 changed files with 1 additions and 1 deletions

View File

@ -486,7 +486,7 @@ namespace OpenSim.Region.CoreModules.Media.Moap
{
string rawVersion = part.MediaUrl.Substring(5, 10);
int version = int.Parse(rawVersion);
part.MediaUrl = string.Format("x-mv:{0:D10}/{1}", ++version, UUID.Zero);
part.MediaUrl = string.Format("x-mv:{0:D10}/{1}", ++version, updateId);
}
m_log.DebugFormat("[MOAP]: Storing media url [{0}] in prim {1} {2}", part.MediaUrl, part.Name, part.UUID);