From 4fb7c1a9e1a26c3afa850685926944508a469b2e Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Thu, 1 Jul 2010 19:53:03 +0100 Subject: [PATCH] send a full object update out to avatars when a media texture is initially set this allows other avatars to see it, but still only after they've clicked on the face still not handling navigation yet --- OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs b/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs index edd03973a4..0d317329f4 100644 --- a/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs +++ b/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs @@ -208,12 +208,8 @@ namespace OpenSim.Region.CoreModules.Media.Moap m_log.DebugFormat("[MOAP]: Storing media url [{0}] in prim {1} {2}", part.MediaUrl, part.Name, part.UUID); - // I know this has to end with the last avatar to edit and the version code shouldn't always be 16. Just trying - // to minimally satisfy for now to get something working - //resp.Version = "x-mv:0000000016/" + UUID.Random(); - - // TODO: schedule full object update for all other avatars. This will trigger them to send an - // ObjectMediaRequest once they see that the MediaUrl is different. + // Arguably we don't need to send a full update to the avatar that just changed the texture. + part.ScheduleFullUpdate(); return string.Empty; }