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
prebuild-update
Justin Clark-Casey (justincc) 2010-07-01 19:53:03 +01:00
parent b1eb83ed6c
commit 468450a94d
1 changed files with 2 additions and 6 deletions

View File

@ -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;
}