aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorOren Hurvitz2012-10-23 10:46:45 +0200
committerJustin Clark-Casey (justincc)2012-10-26 00:06:44 +0100
commit85c909c0b551630d17c3f3bf4aff20e7bf8008e5 (patch)
treea072c8a7ab2227a9cd14029992b7021a2b992fe6
parentminor: if a scene is already shutting down on Scene.Close(), warn and exit in... (diff)
downloadopensim-SC_OLD-85c909c0b551630d17c3f3bf4aff20e7bf8008e5.zip
opensim-SC_OLD-85c909c0b551630d17c3f3bf4aff20e7bf8008e5.tar.gz
opensim-SC_OLD-85c909c0b551630d17c3f3bf4aff20e7bf8008e5.tar.bz2
opensim-SC_OLD-85c909c0b551630d17c3f3bf4aff20e7bf8008e5.tar.xz
Fixed saving non-square multi-region OARs
-rw-r--r--OpenSim/Region/CoreModules/World/Archiver/ArchiveScenesGroup.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/ArchiveScenesGroup.cs b/OpenSim/Region/CoreModules/World/Archiver/ArchiveScenesGroup.cs
index a66ed88..d8dace2 100644
--- a/OpenSim/Region/CoreModules/World/Archiver/ArchiveScenesGroup.cs
+++ b/OpenSim/Region/CoreModules/World/Archiver/ArchiveScenesGroup.cs
@@ -110,7 +110,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver
110 lastX = (lastX == null) ? curLastX : (lastX > curLastX) ? lastX : curLastX; 110 lastX = (lastX == null) ? curLastX : (lastX > curLastX) ? lastX : curLastX;
111 } 111 }
112 112
113 Rect = new Rectangle((int)firstX, (int)firstY, (int)(lastY - firstY + 1), (int)(lastX - firstX + 1)); 113 Rect = new Rectangle((int)firstX, (int)firstY, (int)(lastX - firstX + 1), (int)(lastY - firstY + 1));
114 114
115 115
116 // Calculate the subdirectory in which each region will be stored in the archive 116 // Calculate the subdirectory in which each region will be stored in the archive