start storing incoming MediaEntry on a new Media field on PrimitiveBaseShape

This allows the media texture to persist in memory - logging in and out will redisplay it (after a click) though navigation will be lost
Next need to implement media uri on prim and delegate more incoming llsd parsing to libomv
This commit is contained in:
Justin Clark-Casey (justincc)
2010-07-01 02:06:51 +01:00
parent 9301e36fbc
commit acac47830e
2 changed files with 67 additions and 3 deletions

View File

@@ -26,12 +26,14 @@
*/
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
using System.Reflection;
using System.Xml.Serialization;
using log4net;
using OpenMetaverse;
using OpenMetaverse.StructuredData;
namespace OpenSim.Framework
{
@@ -170,6 +172,11 @@ namespace OpenSim.Framework
}
}
}
/// <summary>
/// Entries to store media textures on each face
/// </summary>
public List<MediaEntry> Media { get; set; }
public PrimitiveBaseShape()
{