mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
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
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user