Small bug in ResetScript

ThreadPoolClientBranch
Tedd Hansen 2008-01-21 12:00:27 +00:00
parent a025f527cf
commit da8923450a
2 changed files with 1 additions and 11 deletions

View File

@ -29,11 +29,7 @@
using System;
using Nini.Config;
using OpenSim.Framework.Console;
using OpenSim.Region.Environment.Interfaces;
using OpenSim.Region.Environment.Scenes;
using OpenSim.Region.ScriptEngine.Common;
using OpenSim.Region.ScriptEngine.Common.ScriptEngineBase;
using EventManager=OpenSim.Region.ScriptEngine.Common.ScriptEngineBase.EventManager;
namespace OpenSim.Region.ScriptEngine.DotNetEngine
{

View File

@ -27,17 +27,11 @@
*/
/* Original code: Tedd Hansen */
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Runtime.Serialization.Formatters.Binary;
using System.Threading;
using libsecondlife;
using OpenSim.Framework;
using OpenSim.Region.Environment.Scenes;
using OpenSim.Region.ScriptEngine.Common;
using OpenSim.Region.ScriptEngine.Common.ScriptEngineBase;
using OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL;
namespace OpenSim.Region.ScriptEngine.DotNetEngine
{
@ -86,7 +80,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
Console.WriteLine("Script " + itemID + " occupies {0} bytes", GC.GetTotalMemory(true) - before);
#endif
CompiledScript.Source = ScriptSource;
CompiledScript.Source = Script;
// Add it to our script memstruct
SetScript(localID, itemID, CompiledScript);