diff options
author | Justin Clark-Casey (justincc) | 2010-07-12 19:46:23 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-07-12 19:46:23 +0100 |
commit | 4a92046b589a0ced240cbf5b174855daf5504a4f (patch) | |
tree | 6e2e993c495f02c5d93e5298d0dbea34ce1ddc31 /OpenSim/Region/Framework | |
parent | Implement llGetPrimMediaParams() (diff) | |
download | opensim-SC_OLD-4a92046b589a0ced240cbf5b174855daf5504a4f.zip opensim-SC_OLD-4a92046b589a0ced240cbf5b174855daf5504a4f.tar.gz opensim-SC_OLD-4a92046b589a0ced240cbf5b174855daf5504a4f.tar.bz2 opensim-SC_OLD-4a92046b589a0ced240cbf5b174855daf5504a4f.tar.xz |
implement llSetPrimMediaParams()
Untested
Diffstat (limited to 'OpenSim/Region/Framework')
-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 1e5133b..8830fb0 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -975,8 +975,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
975 | } | 975 | } |
976 | 976 | ||
977 | /// <summary> | 977 | /// <summary> |
978 | /// Used for media on a prim | 978 | /// Used for media on a prim. |
979 | /// </summary> | 979 | /// </summary> |
980 | /// Do not change this value directly - always do it through an IMoapModule. | ||
980 | public string MediaUrl | 981 | public string MediaUrl |
981 | { | 982 | { |
982 | get | 983 | get |