diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IMoapModule.cs | 14 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 3 |
2 files changed, 14 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IMoapModule.cs b/OpenSim/Region/Framework/Interfaces/IMoapModule.cs index 4447f34..31bb6d8 100644 --- a/OpenSim/Region/Framework/Interfaces/IMoapModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IMoapModule.cs | |||
@@ -39,9 +39,19 @@ namespace OpenSim.Region.Framework.Interfaces | |||
39 | /// <summary> | 39 | /// <summary> |
40 | /// Get the media entry for a given prim face. | 40 | /// Get the media entry for a given prim face. |
41 | /// </summary> | 41 | /// </summary> |
42 | /// A copy of the media entry is returned rather than the original, so this can be altered at will without | ||
43 | /// affecting the original settings. | ||
42 | /// <param name="part"></param> | 44 | /// <param name="part"></param> |
43 | /// <param name="face"></param> | 45 | /// <param name="face"></param> |
44 | /// <returns></returns> | 46 | /// <returns></returns> |
45 | MediaEntry GetMediaEntry(SceneObjectPart part, int face); | 47 | MediaEntry GetMediaEntry(SceneObjectPart part, int face); |
46 | } | 48 | |
49 | /// <summary> | ||
50 | /// Set the media entry for a given prim face. | ||
51 | /// </summary> | ||
52 | /// <param name="SceneObjectPart"></param> | ||
53 | /// <param name="face"></param> | ||
54 | /// <param name="me"></param> | ||
55 | void SetMediaEntry(SceneObjectPart part, int face, MediaEntry me); | ||
56 | } | ||
47 | } \ No newline at end of file | 57 | } \ No newline at end of file |
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index a8c20dd..e6a1696 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -978,8 +978,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
978 | } | 978 | } |
979 | 979 | ||
980 | /// <summary> | 980 | /// <summary> |
981 | /// Used for media on a prim | 981 | /// Used for media on a prim. |
982 | /// </summary> | 982 | /// </summary> |
983 | /// Do not change this value directly - always do it through an IMoapModule. | ||
983 | public string MediaUrl | 984 | public string MediaUrl |
984 | { | 985 | { |
985 | get | 986 | get |