aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2009-12-22 15:35:39 +0000
committerMelanie2009-12-22 15:35:39 +0000
commit33d5018e94e52cb875bf43bced623bdc6aa41ef0 (patch)
tree9d1df129ec9427a201c9f5f0c2e8fec31c4db17c
parentFINALLY! Script compile errors now appear in the script error pane, (diff)
downloadopensim-SC_OLD-33d5018e94e52cb875bf43bced623bdc6aa41ef0.zip
opensim-SC_OLD-33d5018e94e52cb875bf43bced623bdc6aa41ef0.tar.gz
opensim-SC_OLD-33d5018e94e52cb875bf43bced623bdc6aa41ef0.tar.bz2
opensim-SC_OLD-33d5018e94e52cb875bf43bced623bdc6aa41ef0.tar.xz
Remove an insterface member that was never used
-rw-r--r--OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs1
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs15
2 files changed, 0 insertions, 16 deletions
diff --git a/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs b/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs
index 02d1511..25ec92d 100644
--- a/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs
+++ b/OpenSim/Region/ScriptEngine/Interfaces/IScriptEngine.cs
@@ -76,7 +76,6 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
76 76
77 void SetScriptState(UUID itemID, bool state); 77 void SetScriptState(UUID itemID, bool state);
78 bool GetScriptState(UUID itemID); 78 bool GetScriptState(UUID itemID);
79 void SetState(UUID itemID, string newState);
80 void ApiResetScript(UUID itemID); 79 void ApiResetScript(UUID itemID);
81 void ResetScript(UUID itemID); 80 void ResetScript(UUID itemID);
82 IConfig Config { get; } 81 IConfig Config { get; }
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index 11b02e1..4512e98 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -1182,21 +1182,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine
1182 return UUID.Zero; 1182 return UUID.Zero;
1183 } 1183 }
1184 1184
1185 public void SetState(UUID itemID, string newState)
1186 {
1187 IScriptInstance instance = GetInstance(itemID);
1188 if (instance == null)
1189 return;
1190 instance.SetState(newState);
1191 }
1192 public string GetState(UUID itemID)
1193 {
1194 IScriptInstance instance = GetInstance(itemID);
1195 if (instance == null)
1196 return "default";
1197 return instance.State;
1198 }
1199
1200 public int GetStartParameter(UUID itemID) 1185 public int GetStartParameter(UUID itemID)
1201 { 1186 {
1202 IScriptInstance instance = GetInstance(itemID); 1187 IScriptInstance instance = GetInstance(itemID);