diff options
author | Justin Clark-Casey (justincc) | 2010-07-01 19:53:03 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-07-01 19:53:03 +0100 |
commit | 4fb7c1a9e1a26c3afa850685926944508a469b2e (patch) | |
tree | b07c7f4c2f62af150e5b7d469f67f9634c4b40a1 /OpenSim/Region/CoreModules | |
parent | start sending media url in object full updates (diff) | |
download | opensim-SC-4fb7c1a9e1a26c3afa850685926944508a469b2e.zip opensim-SC-4fb7c1a9e1a26c3afa850685926944508a469b2e.tar.gz opensim-SC-4fb7c1a9e1a26c3afa850685926944508a469b2e.tar.bz2 opensim-SC-4fb7c1a9e1a26c3afa850685926944508a469b2e.tar.xz |
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
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs | 8 |
1 files 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 edd0397..0d31732 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 | |||
208 | 208 | ||
209 | m_log.DebugFormat("[MOAP]: Storing media url [{0}] in prim {1} {2}", part.MediaUrl, part.Name, part.UUID); | 209 | m_log.DebugFormat("[MOAP]: Storing media url [{0}] in prim {1} {2}", part.MediaUrl, part.Name, part.UUID); |
210 | 210 | ||
211 | // I know this has to end with the last avatar to edit and the version code shouldn't always be 16. Just trying | 211 | // Arguably we don't need to send a full update to the avatar that just changed the texture. |
212 | // to minimally satisfy for now to get something working | 212 | part.ScheduleFullUpdate(); |
213 | //resp.Version = "x-mv:0000000016/" + UUID.Random(); | ||
214 | |||
215 | // TODO: schedule full object update for all other avatars. This will trigger them to send an | ||
216 | // ObjectMediaRequest once they see that the MediaUrl is different. | ||
217 | 213 | ||
218 | return string.Empty; | 214 | return string.Empty; |
219 | } | 215 | } |