update libomv and apply necessary related changes

This commit is contained in:
UbitUmarov
2020-10-06 17:29:01 +01:00
parent e218c2110d
commit e894b4cafc
13 changed files with 84 additions and 86 deletions

View File

@@ -333,7 +333,7 @@ namespace OpenSim.Region.CoreModules.World.Media.Moap
resp.PrimID = primId;
resp.FaceMedia = currentML;
if (part.MediaUrl == null)
if (string.IsNullOrEmpty(part.MediaUrl))
resp.Version = "x-mv:0000000000/00000000-0000-0000-0000-000000000000";
else
resp.Version = part.MediaUrl;
@@ -570,7 +570,7 @@ namespace OpenSim.Region.CoreModules.World.Media.Moap
/// </param>
protected void UpdateMediaUrl(SceneObjectPart part, UUID updateId)
{
if (null == part.MediaUrl)
if (string.IsNullOrEmpty(part.MediaUrl))
{
// TODO: We can't set the last changer until we start tracking which cap we give to which agent id
part.MediaUrl = "x-mv:0000000001/" + updateId;