diff options
author | Melanie | 2012-04-30 19:04:38 +0100 |
---|---|---|
committer | Melanie | 2012-04-30 19:04:38 +0100 |
commit | 4b982db2525c67d3ae5dd9ef8c3e00c4c0d8fdf6 (patch) | |
tree | 4a1a8386e77f584c900229f1e8ddb08058d07697 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Create TestHelpers.EnableLogging() and DisableLogging() to turn logging on an... (diff) | |
download | opensim-SC-4b982db2525c67d3ae5dd9ef8c3e00c4c0d8fdf6.zip opensim-SC-4b982db2525c67d3ae5dd9ef8c3e00c4c0d8fdf6.tar.gz opensim-SC-4b982db2525c67d3ae5dd9ef8c3e00c4c0d8fdf6.tar.bz2 opensim-SC-4b982db2525c67d3ae5dd9ef8c3e00c4c0d8fdf6.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Data/MySQL/MySQLAssetData.cs
OpenSim/Data/MySQL/MySQLSimulationData.cs
OpenSim/Data/MySQL/MySQLUserAccountData.cs
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 3fe5780..a067868 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -1922,6 +1922,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1922 | rgb.y = texcolor.G; | 1922 | rgb.y = texcolor.G; |
1923 | rgb.z = texcolor.B; | 1923 | rgb.z = texcolor.B; |
1924 | return rgb; | 1924 | return rgb; |
1925 | |||
1925 | } | 1926 | } |
1926 | else | 1927 | else |
1927 | { | 1928 | { |
@@ -3492,6 +3493,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3492 | return m_host.UUID.ToString(); | 3493 | return m_host.UUID.ToString(); |
3493 | } | 3494 | } |
3494 | 3495 | ||
3496 | public LSL_Key llGenerateKey() | ||
3497 | { | ||
3498 | m_host.AddScriptLPS(1); | ||
3499 | return UUID.Random().ToString(); | ||
3500 | } | ||
3501 | |||
3495 | public void llSetBuoyancy(double buoyancy) | 3502 | public void llSetBuoyancy(double buoyancy) |
3496 | { | 3503 | { |
3497 | m_host.AddScriptLPS(1); | 3504 | m_host.AddScriptLPS(1); |