Fixed saving non-square multi-region OARs
parent
dc17cee044
commit
85c909c0b5
|
@ -110,7 +110,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver
|
||||||
lastX = (lastX == null) ? curLastX : (lastX > curLastX) ? lastX : curLastX;
|
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
|
// Calculate the subdirectory in which each region will be stored in the archive
|
||||||
|
|
Loading…
Reference in New Issue