mantis 8233: media changes flag object updated in region db

BulletSim2017
UbitUmarov 2017-08-22 18:37:35 +01:00
parent 539c006cb8
commit 1ca70232a5
1 changed files with 3 additions and 0 deletions

View File

@ -256,6 +256,7 @@ namespace OpenSim.Region.CoreModules.World.Media.Moap
SetPartMediaFlags(part, face, me != null);
part.ParentGroup.HasGroupChanged = true;
part.ScheduleFullUpdate();
part.TriggerScriptChangedEvent(Changed.MEDIA);
}
@ -461,6 +462,7 @@ namespace OpenSim.Region.CoreModules.World.Media.Moap
UpdateMediaUrl(part, agentId);
// Arguably, we could avoid sending a full update to the avatar that just changed the texture.
part.ParentGroup.HasGroupChanged = true;
part.ScheduleFullUpdate();
part.TriggerScriptChangedEvent(Changed.MEDIA);
@ -539,6 +541,7 @@ namespace OpenSim.Region.CoreModules.World.Media.Moap
UpdateMediaUrl(part, agentId);
part.ParentGroup.HasGroupChanged = true;
part.ScheduleFullUpdate();
part.TriggerScriptChangedEvent(Changed.MEDIA);