aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2015-08-19 23:18:40 +0200
committerMelanie2015-08-19 23:18:40 +0200
commit7633ebf36fb41337e16aefd6b3ad50a60d1ed884 (patch)
tree79b3df6285c9b2ff74b50e61b79472538c5705a8
parentConvert the lsl list type into a struct. EXPERIMENTAL! This may affect (diff)
downloadopensim-SC_OLD-7633ebf36fb41337e16aefd6b3ad50a60d1ed884.zip
opensim-SC_OLD-7633ebf36fb41337e16aefd6b3ad50a60d1ed884.tar.gz
opensim-SC_OLD-7633ebf36fb41337e16aefd6b3ad50a60d1ed884.tar.bz2
opensim-SC_OLD-7633ebf36fb41337e16aefd6b3ad50a60d1ed884.tar.xz
Add explicit initialization because mono 3 doesn't like what mono 2 allows
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 3fb3c32..7719f07 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -8002,7 +8002,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
8002 8002
8003 protected void SetEntityParams(List<ISceneEntity> entities, LSL_List rules, string originFunc) 8003 protected void SetEntityParams(List<ISceneEntity> entities, LSL_List rules, string originFunc)
8004 { 8004 {
8005 LSL_List remaining; 8005 LSL_List remaining = new LSL_List();
8006 uint rulesParsed = 0; 8006 uint rulesParsed = 0;
8007 8007
8008 foreach (ISceneEntity entity in entities) 8008 foreach (ISceneEntity entity in entities)
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index b3f298a..e799714 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -2473,7 +2473,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2473 // on the ILSL_Api interface. 2473 // on the ILSL_Api interface.
2474 LSL_Api LSL_Api = (LSL_Api)m_LSL_Api; 2474 LSL_Api LSL_Api = (LSL_Api)m_LSL_Api;
2475 LSL_List retVal = new LSL_List(); 2475 LSL_List retVal = new LSL_List();
2476 LSL_List remaining; 2476 LSL_List remaining = new LSL_List();
2477 List<SceneObjectPart> parts = LSL_Api.GetLinkParts(linknumber); 2477 List<SceneObjectPart> parts = LSL_Api.GetLinkParts(linknumber);
2478 foreach (SceneObjectPart part in parts) 2478 foreach (SceneObjectPart part in parts)
2479 { 2479 {