diff options
author | lbsa71 | 2007-08-06 13:01:47 +0000 |
---|---|---|
committer | lbsa71 | 2007-08-06 13:01:47 +0000 |
commit | 1b100e17a59480c6e66c2b8b5735003b0a1083c7 (patch) | |
tree | e0d91233e3679820bb94634c7b599c66905b58c6 /OpenSim/Region/Environment/Scenes/Scripting/Engines/CSharpEngine | |
parent | ... and here's the second part... (diff) | |
download | opensim-SC_OLD-1b100e17a59480c6e66c2b8b5735003b0a1083c7.zip opensim-SC_OLD-1b100e17a59480c6e66c2b8b5735003b0a1083c7.tar.gz opensim-SC_OLD-1b100e17a59480c6e66c2b8b5735003b0a1083c7.tar.bz2 opensim-SC_OLD-1b100e17a59480c6e66c2b8b5735003b0a1083c7.tar.xz |
* minor refactorings
Diffstat (limited to '')
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scripting/Engines/CSharpEngine/CSharpScriptEngine.cs b/OpenSim/Region/Environment/Scenes/Scripting/Engines/CSharpEngine/CSharpScriptEngine.cs index b0ccd22..8e1b23e 100644 --- a/OpenSim/Region/Environment/Scenes/Scripting/Engines/CSharpEngine/CSharpScriptEngine.cs +++ b/OpenSim/Region/Environment/Scenes/Scripting/Engines/CSharpEngine/CSharpScriptEngine.cs | |||
@@ -75,7 +75,7 @@ namespace OpenSim.Region.Scripting | |||
75 | { | 75 | { |
76 | IScript script = (IScript)compilerResults.CompiledAssembly.CreateInstance(pluginType.ToString()); | 76 | IScript script = (IScript)compilerResults.CompiledAssembly.CreateInstance(pluginType.ToString()); |
77 | 77 | ||
78 | string scriptName = "C#/" + script.getName(); | 78 | string scriptName = "C#/" + script.Name; |
79 | Console.WriteLine("Script: " + scriptName + " loaded."); | 79 | Console.WriteLine("Script: " + scriptName + " loaded."); |
80 | 80 | ||
81 | if (!scripts.ContainsKey(scriptName)) | 81 | if (!scripts.ContainsKey(scriptName)) |
diff --git a/OpenSim/Region/Environment/Scenes/Scripting/Engines/CSharpEngine/Examples/ExportRegionToLSL.cs b/OpenSim/Region/Environment/Scenes/Scripting/Engines/CSharpEngine/Examples/ExportRegionToLSL.cs index f753b30..d5566b7 100644 --- a/OpenSim/Region/Environment/Scenes/Scripting/Engines/CSharpEngine/Examples/ExportRegionToLSL.cs +++ b/OpenSim/Region/Environment/Scenes/Scripting/Engines/CSharpEngine/Examples/ExportRegionToLSL.cs | |||
@@ -12,9 +12,9 @@ namespace OpenSim.Region.Scripting.Examples | |||
12 | { | 12 | { |
13 | ScriptInfo script; | 13 | ScriptInfo script; |
14 | 14 | ||
15 | public string getName() | 15 | public string Name |
16 | { | 16 | { |
17 | return "LSL Export Script 0.1"; | 17 | get { return "LSL Export Script 0.1"; } |
18 | } | 18 | } |
19 | 19 | ||
20 | public void Initialise(ScriptInfo scriptInfo) | 20 | public void Initialise(ScriptInfo scriptInfo) |