aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/GridService
diff options
context:
space:
mode:
authorRobert Adams2013-11-02 15:40:48 -0700
committerRobert Adams2013-11-02 15:40:48 -0700
commit6df7d4219d7a82b0323d9fe294473860c0aef0dd (patch)
tree4206e372d31648b5a491eca1b36382eddd9c6fdb /OpenSim/Services/GridService
parentvarregion: Enforce the configuration of square regions in RegionInfo.cs. (diff)
downloadopensim-SC-6df7d4219d7a82b0323d9fe294473860c0aef0dd.zip
opensim-SC-6df7d4219d7a82b0323d9fe294473860c0aef0dd.tar.gz
opensim-SC-6df7d4219d7a82b0323d9fe294473860c0aef0dd.tar.bz2
opensim-SC-6df7d4219d7a82b0323d9fe294473860c0aef0dd.tar.xz
varregion: add linkage for region size in creations and conversions
of GridRegion. New variables for size and code to initialize same.
Diffstat (limited to 'OpenSim/Services/GridService')
-rw-r--r--OpenSim/Services/GridService/GridService.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs
index e72b7f9..9fa2dc5 100644
--- a/OpenSim/Services/GridService/GridService.cs
+++ b/OpenSim/Services/GridService/GridService.cs
@@ -441,6 +441,8 @@ namespace OpenSim.Services.GridService
441 RegionData rdata = new RegionData(); 441 RegionData rdata = new RegionData();
442 rdata.posX = (int)rinfo.RegionLocX; 442 rdata.posX = (int)rinfo.RegionLocX;
443 rdata.posY = (int)rinfo.RegionLocY; 443 rdata.posY = (int)rinfo.RegionLocY;
444 rdata.sizeX = rinfo.RegionSizeX;
445 rdata.sizeY = rinfo.RegionSizeY;
444 rdata.RegionID = rinfo.RegionID; 446 rdata.RegionID = rinfo.RegionID;
445 rdata.RegionName = rinfo.RegionName; 447 rdata.RegionName = rinfo.RegionName;
446 rdata.Data = rinfo.ToKeyValuePairs(); 448 rdata.Data = rinfo.ToKeyValuePairs();
@@ -454,6 +456,8 @@ namespace OpenSim.Services.GridService
454 GridRegion rinfo = new GridRegion(rdata.Data); 456 GridRegion rinfo = new GridRegion(rdata.Data);
455 rinfo.RegionLocX = rdata.posX; 457 rinfo.RegionLocX = rdata.posX;
456 rinfo.RegionLocY = rdata.posY; 458 rinfo.RegionLocY = rdata.posY;
459 rinfo.RegionSizeX = rdata.sizeX;
460 rinfo.RegionSizeY = rdata.sizeY;
457 rinfo.RegionID = rdata.RegionID; 461 rinfo.RegionID = rdata.RegionID;
458 rinfo.RegionName = rdata.RegionName; 462 rinfo.RegionName = rdata.RegionName;
459 rinfo.ScopeID = rdata.ScopeID; 463 rinfo.ScopeID = rdata.ScopeID;