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 yetprebuild-update
parent
81f727416d
commit
4fb7c1a9e1
|
@ -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);
|
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
|
// Arguably we don't need to send a full update to the avatar that just changed the texture.
|
||||||
// to minimally satisfy for now to get something working
|
part.ScheduleFullUpdate();
|
||||||
//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.
|
|
||||||
|
|
||||||
return string.Empty;
|
return string.Empty;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue