From 2b83aa931c3181c92970da37309eeaa1204525c9 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Sat, 7 Jun 2008 15:46:43 +0000 Subject: Mantis#1476. Thank you kindly, Melanie for a patch that: 0001476: [PATCH] Allow larger script state files to be loaded The previous limitation on load file size was too small for larger script projects --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 05a4f76..0a6de60 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -823,7 +823,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine { FileInfo fi = new FileInfo(savedState); int size=(int)fi.Length; - if (size < 130000) + if (size < 512000) { using (FileStream fs = File.Open(savedState, FileMode.Open, FileAccess.Read, FileShare.None)) -- cgit v1.1