diff options
author | Charles Krinke | 2008-06-07 15:46:43 +0000 |
---|---|---|
committer | Charles Krinke | 2008-06-07 15:46:43 +0000 |
commit | 2b83aa931c3181c92970da37309eeaa1204525c9 (patch) | |
tree | 2cfa09e1e575178747bfa67bfe112a44acef01a6 /OpenSim/Region/ScriptEngine/XEngine | |
parent | Mantis#1475. Thank you kindly, Kinoc for a patch that: (diff) | |
download | opensim-SC-2b83aa931c3181c92970da37309eeaa1204525c9.zip opensim-SC-2b83aa931c3181c92970da37309eeaa1204525c9.tar.gz opensim-SC-2b83aa931c3181c92970da37309eeaa1204525c9.tar.bz2 opensim-SC-2b83aa931c3181c92970da37309eeaa1204525c9.tar.xz |
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
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
823 | { | 823 | { |
824 | FileInfo fi = new FileInfo(savedState); | 824 | FileInfo fi = new FileInfo(savedState); |
825 | int size=(int)fi.Length; | 825 | int size=(int)fi.Length; |
826 | if (size < 130000) | 826 | if (size < 512000) |
827 | { | 827 | { |
828 | using (FileStream fs = File.Open(savedState, | 828 | using (FileStream fs = File.Open(savedState, |
829 | FileMode.Open, FileAccess.Read, FileShare.None)) | 829 | FileMode.Open, FileAccess.Read, FileShare.None)) |