Fixed saving non-square multi-region OARs

integration
Oren Hurvitz 2012-10-23 10:46:45 +02:00 committed by Justin Clark-Casey (justincc)
parent dc17cee044
commit 85c909c0b5
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver
lastX = (lastX == null) ? curLastX : (lastX > curLastX) ? lastX : curLastX;
}
Rect = new Rectangle((int)firstX, (int)firstY, (int)(lastY - firstY + 1), (int)(lastX - firstX + 1));
Rect = new Rectangle((int)firstX, (int)firstY, (int)(lastX - firstX + 1), (int)(lastY - firstY + 1));
// Calculate the subdirectory in which each region will be stored in the archive