diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs index be1aae0..bc6ce4f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs | |||
@@ -169,18 +169,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
169 | 169 | ||
170 | 170 | ||
171 | // standard preamble | 171 | // standard preamble |
172 | //retstr = GenerateLine("using OpenSim.Region.ScriptEngine.Common;"); | 172 | |
173 | //retstr += GenerateLine("using System.Collections.Generic;"); | 173 | |
174 | //retstr += GenerateLine(""); | 174 | |
175 | //retstr += GenerateLine("namespace SecondLife"); | ||
176 | //retstr += GenerateLine("{"); | ||
177 | m_braceCount++; | 175 | m_braceCount++; |
178 | //retstr += GenerateIndentedLine("public class Script : OpenSim.Region.ScriptEngine.Common"); | ||
179 | //retstr += GenerateIndentedLine("{"); | ||
180 | m_braceCount++; | 176 | m_braceCount++; |
181 | 177 | ||
182 | // line number | 178 | // line number |
183 | m_CSharpLine += 9; | 179 | m_CSharpLine += 10; |
184 | 180 | ||
185 | // here's the payload | 181 | // here's the payload |
186 | sb.Append("\n"); | 182 | sb.Append("\n"); |