diff options
author | Justin Clark-Casey (justincc) | 2010-07-15 00:15:23 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-07-26 23:34:21 +0100 |
commit | dce7307aa20f49276139708077e329835829d8c2 (patch) | |
tree | 38b49ebfcd9b0d03718825bacb4d12bd0dc3b855 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | fix bug where prim persistence would fail if media had never been set (diff) | |
download | opensim-SC_OLD-dce7307aa20f49276139708077e329835829d8c2.zip opensim-SC_OLD-dce7307aa20f49276139708077e329835829d8c2.tar.gz opensim-SC_OLD-dce7307aa20f49276139708077e329835829d8c2.tar.bz2 opensim-SC_OLD-dce7307aa20f49276139708077e329835829d8c2.tar.xz |
properly expose prim media LSL functions to scripts
scripts using these functions should now compile but I don't know how well the methods themselves work yet
llSetPrimMedia(), at least, appears to have problems when a current url is set for a face that doesn't yet have a texture
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs index 3339995..451163f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | |||
@@ -1832,5 +1832,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
1832 | { | 1832 | { |
1833 | return m_LSL_Functions.llXorBase64StringsCorrect(str1, str2); | 1833 | return m_LSL_Functions.llXorBase64StringsCorrect(str1, str2); |
1834 | } | 1834 | } |
1835 | |||
1836 | public LSL_List llGetPrimMediaParams(int face, LSL_List rules) | ||
1837 | { | ||
1838 | return m_LSL_Functions.llGetPrimMediaParams(face, rules); | ||
1839 | } | ||
1840 | |||
1841 | public LSL_Integer llSetPrimMediaParams(int face, LSL_List rules) | ||
1842 | { | ||
1843 | return m_LSL_Functions.llSetPrimMediaParams(face, rules); | ||
1844 | } | ||
1845 | |||
1846 | public LSL_Integer llClearPrimMedia(LSL_Integer face) | ||
1847 | { | ||
1848 | return m_LSL_Functions.llClearPrimMedia(face); | ||
1849 | } | ||
1835 | } | 1850 | } |
1836 | } | 1851 | } |