diff options
author | Melanie | 2012-01-22 11:36:04 +0000 |
---|---|---|
committer | Melanie | 2012-01-22 11:36:04 +0000 |
commit | 68365c20c0b3a3164881398f3bc3710f7960c52d (patch) | |
tree | bef00ac36c0dc8f33c1df3066c9d0e09dbb71aa9 /OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | |
parent | Telehub Support: (diff) | |
download | opensim-SC_OLD-68365c20c0b3a3164881398f3bc3710f7960c52d.zip opensim-SC_OLD-68365c20c0b3a3164881398f3bc3710f7960c52d.tar.gz opensim-SC_OLD-68365c20c0b3a3164881398f3bc3710f7960c52d.tar.bz2 opensim-SC_OLD-68365c20c0b3a3164881398f3bc3710f7960c52d.tar.xz |
Move Telehub tables and data from EstateSettings to RegionSettings.
This is damage control es EstateSettings is not the place this can be put.
EstateSettings is nt unique to a region and therefore would introduce
a hard limit of one telehub per estate, completely shutting off the
option of having SL style telehubs, e.g. one per region. Whole
estate teleport routing can still be implemented id desiresd, this
way all options are open while the other way most options get closed
off.
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs index 6a02ffe..cdcea65 100644 --- a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | |||
@@ -609,9 +609,9 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
609 | { | 609 | { |
610 | case "info ui": | 610 | case "info ui": |
611 | // Send info: | 611 | // Send info: |
612 | if (Scene.RegionInfo.EstateSettings.HasTelehub) | 612 | if (Scene.RegionInfo.RegionSettings.HasTelehub) |
613 | { | 613 | { |
614 | EstateSettings settings = this.Scene.RegionInfo.EstateSettings; | 614 | RegionSettings settings = this.Scene.RegionInfo.RegionSettings; |
615 | client.SendTelehubInfo(settings.TelehubObject, settings.TelehubName, settings.TelehubPos, | 615 | client.SendTelehubInfo(settings.TelehubObject, settings.TelehubName, settings.TelehubPos, |
616 | settings.TelehubRot, settings.SpawnPoints()); | 616 | settings.TelehubRot, settings.SpawnPoints()); |
617 | } | 617 | } |
@@ -626,7 +626,7 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
626 | part = Scene.GetSceneObjectPart((uint)param1); | 626 | part = Scene.GetSceneObjectPart((uint)param1); |
627 | if (m_Telehub.Connect(part)) | 627 | if (m_Telehub.Connect(part)) |
628 | { | 628 | { |
629 | EstateSettings settings = this.Scene.RegionInfo.EstateSettings; | 629 | RegionSettings settings = this.Scene.RegionInfo.RegionSettings; |
630 | client.SendTelehubInfo(settings.TelehubObject, settings.TelehubName, settings.TelehubPos, | 630 | client.SendTelehubInfo(settings.TelehubObject, settings.TelehubName, settings.TelehubPos, |
631 | settings.TelehubRot, settings.SpawnPoints()); | 631 | settings.TelehubRot, settings.SpawnPoints()); |
632 | } | 632 | } |
@@ -637,7 +637,7 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
637 | part = Scene.GetSceneObjectPart((uint)param1); | 637 | part = Scene.GetSceneObjectPart((uint)param1); |
638 | if (m_Telehub.DisConnect(part)) | 638 | if (m_Telehub.DisConnect(part)) |
639 | { | 639 | { |
640 | EstateSettings settings = this.Scene.RegionInfo.EstateSettings; | 640 | RegionSettings settings = this.Scene.RegionInfo.RegionSettings; |
641 | client.SendTelehubInfo(settings.TelehubObject, settings.TelehubName, settings.TelehubPos, | 641 | client.SendTelehubInfo(settings.TelehubObject, settings.TelehubName, settings.TelehubPos, |
642 | settings.TelehubRot, settings.SpawnPoints()); | 642 | settings.TelehubRot, settings.SpawnPoints()); |
643 | } | 643 | } |
@@ -648,7 +648,7 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
648 | part = Scene.GetSceneObjectPart((uint)param1); | 648 | part = Scene.GetSceneObjectPart((uint)param1); |
649 | if( m_Telehub.AddSpawnPoint(part.AbsolutePosition)) | 649 | if( m_Telehub.AddSpawnPoint(part.AbsolutePosition)) |
650 | { | 650 | { |
651 | EstateSettings settings = this.Scene.RegionInfo.EstateSettings; | 651 | RegionSettings settings = this.Scene.RegionInfo.RegionSettings; |
652 | client.SendTelehubInfo(settings.TelehubObject, settings.TelehubName, settings.TelehubPos, | 652 | client.SendTelehubInfo(settings.TelehubObject, settings.TelehubName, settings.TelehubPos, |
653 | settings.TelehubRot, settings.SpawnPoints()); | 653 | settings.TelehubRot, settings.SpawnPoints()); |
654 | } | 654 | } |
@@ -658,7 +658,7 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
658 | // Remove SpawnPoint from Telehub | 658 | // Remove SpawnPoint from Telehub |
659 | if (m_Telehub.RemoveSpawnPoint((int)param1)) | 659 | if (m_Telehub.RemoveSpawnPoint((int)param1)) |
660 | { | 660 | { |
661 | EstateSettings settings = this.Scene.RegionInfo.EstateSettings; | 661 | RegionSettings settings = this.Scene.RegionInfo.RegionSettings; |
662 | client.SendTelehubInfo(settings.TelehubObject, settings.TelehubName, settings.TelehubPos, | 662 | client.SendTelehubInfo(settings.TelehubObject, settings.TelehubName, settings.TelehubPos, |
663 | settings.TelehubRot, settings.SpawnPoints()); | 663 | settings.TelehubRot, settings.SpawnPoints()); |
664 | } | 664 | } |