mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user