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 projects0.6.0-stable
parent
80079e14e3
commit
2b83aa931c
|
@ -823,7 +823,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||||
{
|
{
|
||||||
FileInfo fi = new FileInfo(savedState);
|
FileInfo fi = new FileInfo(savedState);
|
||||||
int size=(int)fi.Length;
|
int size=(int)fi.Length;
|
||||||
if (size < 130000)
|
if (size < 512000)
|
||||||
{
|
{
|
||||||
using (FileStream fs = File.Open(savedState,
|
using (FileStream fs = File.Open(savedState,
|
||||||
FileMode.Open, FileAccess.Read, FileShare.None))
|
FileMode.Open, FileAccess.Read, FileShare.None))
|
||||||
|
|
Loading…
Reference in New Issue