diff options
author | Justin Clark-Casey (justincc) | 2010-07-21 19:32:05 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-07-21 19:32:05 +0100 |
commit | 8e8076c947462980d849ac2fac33fc0640ea1a31 (patch) | |
tree | d8d4247026555718857f3ce9b5a39bb7936b8abf | |
parent | Properly set TextureEntry.MediaFlags when a media texture is set (diff) | |
download | opensim-SC_OLD-8e8076c947462980d849ac2fac33fc0640ea1a31.zip opensim-SC_OLD-8e8076c947462980d849ac2fac33fc0640ea1a31.tar.gz opensim-SC_OLD-8e8076c947462980d849ac2fac33fc0640ea1a31.tar.bz2 opensim-SC_OLD-8e8076c947462980d849ac2fac33fc0640ea1a31.tar.xz |
also add avatar id to an updated media url - not just new ones
-rw-r--r-- | OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs b/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs index 4818546..0130ff9 100644 --- a/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs +++ b/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs | |||
@@ -486,7 +486,7 @@ namespace OpenSim.Region.CoreModules.Media.Moap | |||
486 | { | 486 | { |
487 | string rawVersion = part.MediaUrl.Substring(5, 10); | 487 | string rawVersion = part.MediaUrl.Substring(5, 10); |
488 | int version = int.Parse(rawVersion); | 488 | int version = int.Parse(rawVersion); |
489 | part.MediaUrl = string.Format("x-mv:{0:D10}/{1}", ++version, UUID.Zero); | 489 | part.MediaUrl = string.Format("x-mv:{0:D10}/{1}", ++version, updateId); |
490 | } | 490 | } |
491 | 491 | ||
492 | m_log.DebugFormat("[MOAP]: Storing media url [{0}] in prim {1} {2}", part.MediaUrl, part.Name, part.UUID); | 492 | m_log.DebugFormat("[MOAP]: Storing media url [{0}] in prim {1} {2}", part.MediaUrl, part.Name, part.UUID); |