aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-07-01 19:53:03 +0100
committerJustin Clark-Casey (justincc)2010-07-26 23:34:18 +0100
commit468450a94db3b103d19f44f55156bf305d55ecb9 (patch)
tree4df9947ebf7009f166eccb1487c6637f290e16e5
parentstart sending media url in object full updates (diff)
downloadopensim-SC-468450a94db3b103d19f44f55156bf305d55ecb9.zip
opensim-SC-468450a94db3b103d19f44f55156bf305d55ecb9.tar.gz
opensim-SC-468450a94db3b103d19f44f55156bf305d55ecb9.tar.bz2
opensim-SC-468450a94db3b103d19f44f55156bf305d55ecb9.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
-rw-r--r--OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs8
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 }