diff options
author | Melanie Thielker | 2008-07-31 10:51:30 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-07-31 10:51:30 +0000 |
commit | af3e2c6e1ccd1bf26e139ec6fcb20f0165d439cd (patch) | |
tree | b96aa0c172a7491edbc99ad54df832d896907410 /OpenSim/Region/ScriptEngine/Common | |
parent | Thanks, M. Igarashi & nlin, for a patch that implements unary minus operator (diff) | |
download | opensim-SC-af3e2c6e1ccd1bf26e139ec6fcb20f0165d439cd.zip opensim-SC-af3e2c6e1ccd1bf26e139ec6fcb20f0165d439cd.tar.gz opensim-SC-af3e2c6e1ccd1bf26e139ec6fcb20f0165d439cd.tar.bz2 opensim-SC-af3e2c6e1ccd1bf26e139ec6fcb20f0165d439cd.tar.xz |
Thank you, sacha magne, for a patch that implements
llRequestSimulatorData("simname", DATA_SIM_RELEASE)
Fixes Mantis #1866
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs index 575cb43..3580d71 100644 --- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | |||
@@ -2239,6 +2239,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2239 | public const int DATA_SIM_POS = 5; | 2239 | public const int DATA_SIM_POS = 5; |
2240 | public const int DATA_SIM_STATUS = 6; | 2240 | public const int DATA_SIM_STATUS = 6; |
2241 | public const int DATA_SIM_RATING = 7; | 2241 | public const int DATA_SIM_RATING = 7; |
2242 | public const int DATA_SIM_RELEASE = 128; | ||
2242 | 2243 | ||
2243 | public const int ANIM_ON = 1; | 2244 | public const int ANIM_ON = 1; |
2244 | public const int LOOP = 2; | 2245 | public const int LOOP = 2; |
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 89202b2..702cbfa 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -6604,6 +6604,9 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
6604 | else | 6604 | else |
6605 | reply = "UNKNOWN"; | 6605 | reply = "UNKNOWN"; |
6606 | break; | 6606 | break; |
6607 | case 128: // SIM_RELEASE | ||
6608 | reply = m_ScriptEngine.World.GetSimulatorVersion(); | ||
6609 | break; | ||
6607 | default: | 6610 | default: |
6608 | return LLUUID.Zero.ToString(); // Raise no event | 6611 | return LLUUID.Zero.ToString(); // Raise no event |
6609 | } | 6612 | } |