diff options
author | Justin Clarke Casey | 2008-03-24 20:22:58 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-03-24 20:22:58 +0000 |
commit | 6489746a6b302855a294e2d72ade169f0e8ca3ec (patch) | |
tree | 48a679e813ea007da789376abfd9f698afc58659 /OpenSim/Region/Application | |
parent | Implements llGetInventoryName() - the order is based upon inventory key, whic... (diff) | |
download | opensim-SC-6489746a6b302855a294e2d72ade169f0e8ca3ec.zip opensim-SC-6489746a6b302855a294e2d72ade169f0e8ca3ec.tar.gz opensim-SC-6489746a6b302855a294e2d72ade169f0e8ca3ec.tar.bz2 opensim-SC-6489746a6b302855a294e2d72ade169f0e8ca3ec.tar.xz |
* Make standalone non-home region caps work again.
* When I removed the hard coding for the http port last night, I foolishly assumed standalone would be okay :)
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 6510eea..e2902dc 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -446,6 +446,12 @@ namespace OpenSim | |||
446 | return m_commsManager.AddUser(tempfirstname,templastname,tempPasswd,regX,regY); | 446 | return m_commsManager.AddUser(tempfirstname,templastname,tempPasswd,regX,regY); |
447 | } | 447 | } |
448 | 448 | ||
449 | /// <summary> | ||
450 | /// Execute the region creation process. This includes setting up scene infrastructure. | ||
451 | /// </summary> | ||
452 | /// <param name="regionInfo"></param> | ||
453 | /// <param name="portadd_flag"></param> | ||
454 | /// <returns></returns> | ||
449 | public UDPServer CreateRegion(RegionInfo regionInfo, bool portadd_flag) | 455 | public UDPServer CreateRegion(RegionInfo regionInfo, bool portadd_flag) |
450 | { | 456 | { |
451 | int port = regionInfo.InternalEndPoint.Port; | 457 | int port = regionInfo.InternalEndPoint.Port; |
@@ -456,6 +462,9 @@ namespace OpenSim | |||
456 | // set initial ServerURI | 462 | // set initial ServerURI |
457 | regionInfo.ServerURI = "http://" + regionInfo.ExternalHostName | 463 | regionInfo.ServerURI = "http://" + regionInfo.ExternalHostName |
458 | + ":" + regionInfo.InternalEndPoint.Port.ToString(); | 464 | + ":" + regionInfo.InternalEndPoint.Port.ToString(); |
465 | |||
466 | regionInfo.HttpPort = m_httpServerPort; | ||
467 | m_log.DebugFormat("[OPENSIM MAIN]: Setting http port for region {0} to {1}", regionInfo.InternalEndPoint, regionInfo.HttpPort); | ||
459 | 468 | ||
460 | if ((proxyUrl.Length > 0) && (portadd_flag)) | 469 | if ((proxyUrl.Length > 0) && (portadd_flag)) |
461 | { | 470 | { |