aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs5
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs3
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs1
3 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs b/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs
index 8699800..8bccab4 100644
--- a/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs
+++ b/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs
@@ -127,6 +127,7 @@ namespace OpenSim.Region.CoreModules.Media.Moap
127 part.Shape.Media[face] = me; 127 part.Shape.Media[face] = me;
128 UpdateMediaUrl(part); 128 UpdateMediaUrl(part);
129 part.ScheduleFullUpdate(); 129 part.ScheduleFullUpdate();
130 part.TriggerScriptChangedEvent(Changed.MEDIA);
130 } 131 }
131 132
132 public void ClearMediaEntry(SceneObjectPart part, int face) 133 public void ClearMediaEntry(SceneObjectPart part, int face)
@@ -233,6 +234,8 @@ namespace OpenSim.Region.CoreModules.Media.Moap
233 // Arguably, we could avoid sending a full update to the avatar that just changed the texture. 234 // Arguably, we could avoid sending a full update to the avatar that just changed the texture.
234 part.ScheduleFullUpdate(); 235 part.ScheduleFullUpdate();
235 236
237 part.TriggerScriptChangedEvent(Changed.MEDIA);
238
236 return string.Empty; 239 return string.Empty;
237 } 240 }
238 241
@@ -277,6 +280,8 @@ namespace OpenSim.Region.CoreModules.Media.Moap
277 280
278 part.ScheduleFullUpdate(); 281 part.ScheduleFullUpdate();
279 282
283 part.TriggerScriptChangedEvent(Changed.MEDIA);
284
280 return string.Empty; 285 return string.Empty;
281 } 286 }
282 287
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 8830fb0..3165f4d 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -58,7 +58,8 @@ namespace OpenSim.Region.Framework.Scenes
58 OWNER = 128, 58 OWNER = 128,
59 REGION_RESTART = 256, 59 REGION_RESTART = 256,
60 REGION = 512, 60 REGION = 512,
61 TELEPORT = 1024 61 TELEPORT = 1024,
62 MEDIA = 2048
62 } 63 }
63 64
64 // I don't really know where to put this except here. 65 // I don't really know where to put this except here.
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
index 6ef786a..06f9426 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
@@ -276,6 +276,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
276 public const int CHANGED_REGION_RESTART = 256; 276 public const int CHANGED_REGION_RESTART = 256;
277 public const int CHANGED_REGION = 512; 277 public const int CHANGED_REGION = 512;
278 public const int CHANGED_TELEPORT = 1024; 278 public const int CHANGED_TELEPORT = 1024;
279 public const int CHANGED_MEDIA = 2048;
279 public const int CHANGED_ANIMATION = 16384; 280 public const int CHANGED_ANIMATION = 16384;
280 public const int TYPE_INVALID = 0; 281 public const int TYPE_INVALID = 0;
281 public const int TYPE_INTEGER = 1; 282 public const int TYPE_INTEGER = 1;