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 b06308e1d3
commit d764c95d09
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);