diff options
author | Justin Clark-Casey (justincc) | 2010-07-21 19:32:05 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-07-26 23:34:22 +0100 |
commit | d764c95d09c2141e1d4459dd608e95fb1f9d7546 (patch) | |
tree | 6ea1314bad9c0680c44ed04dc17f8327f6e8472c | |
parent | Properly set TextureEntry.MediaFlags when a media texture is set (diff) | |
download | opensim-SC_OLD-d764c95d09c2141e1d4459dd608e95fb1f9d7546.zip opensim-SC_OLD-d764c95d09c2141e1d4459dd608e95fb1f9d7546.tar.gz opensim-SC_OLD-d764c95d09c2141e1d4459dd608e95fb1f9d7546.tar.bz2 opensim-SC_OLD-d764c95d09c2141e1d4459dd608e95fb1f9d7546.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); |