diff options
author | UbitUmarov | 2016-09-15 01:56:38 +0100 |
---|---|---|
committer | UbitUmarov | 2016-09-15 01:56:38 +0100 |
commit | f2dfd0a01a96eca29507f2f11a79775a8ce59094 (patch) | |
tree | de5b3ea7bea6378455e82ca9995b345cf259b2eb /OpenSim/Services | |
parent | add skeleton on handle revoke permissions packet ( non funtional still ) ( do... (diff) | |
download | opensim-SC_OLD-f2dfd0a01a96eca29507f2f11a79775a8ce59094.zip opensim-SC_OLD-f2dfd0a01a96eca29507f2f11a79775a8ce59094.tar.gz opensim-SC_OLD-f2dfd0a01a96eca29507f2f11a79775a8ce59094.tar.bz2 opensim-SC_OLD-f2dfd0a01a96eca29507f2f11a79775a8ce59094.tar.xz |
make login to default regions be flaged also as login via RegionID, so landpoints can work on those default regions
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index 92b3137..1ea17b5 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -588,6 +588,7 @@ namespace OpenSim.Services.LLLoginService | |||
588 | List<GridRegion> defaults = m_GridService.GetDefaultRegions(scopeID); | 588 | List<GridRegion> defaults = m_GridService.GetDefaultRegions(scopeID); |
589 | if (defaults != null && defaults.Count > 0) | 589 | if (defaults != null && defaults.Count > 0) |
590 | { | 590 | { |
591 | flags |= TeleportFlags.ViaRegionID; | ||
591 | region = defaults[0]; | 592 | region = defaults[0]; |
592 | where = "safe"; | 593 | where = "safe"; |
593 | } | 594 | } |
@@ -597,7 +598,10 @@ namespace OpenSim.Services.LLLoginService | |||
597 | account.FirstName, account.LastName); | 598 | account.FirstName, account.LastName); |
598 | region = FindAlternativeRegion(scopeID); | 599 | region = FindAlternativeRegion(scopeID); |
599 | if (region != null) | 600 | if (region != null) |
601 | { | ||
602 | flags |= TeleportFlags.ViaRegionID; | ||
600 | where = "safe"; | 603 | where = "safe"; |
604 | } | ||
601 | } | 605 | } |
602 | } | 606 | } |
603 | 607 | ||
@@ -618,6 +622,7 @@ namespace OpenSim.Services.LLLoginService | |||
618 | List<GridRegion> defaults = m_GridService.GetDefaultRegions(scopeID); | 622 | List<GridRegion> defaults = m_GridService.GetDefaultRegions(scopeID); |
619 | if (defaults != null && defaults.Count > 0) | 623 | if (defaults != null && defaults.Count > 0) |
620 | { | 624 | { |
625 | flags |= TeleportFlags.ViaRegionID; | ||
621 | region = defaults[0]; | 626 | region = defaults[0]; |
622 | where = "safe"; | 627 | where = "safe"; |
623 | } | 628 | } |
@@ -626,7 +631,10 @@ namespace OpenSim.Services.LLLoginService | |||
626 | m_log.Info("[LLOGIN SERVICE]: Last Region Not Found Attempting to find random region"); | 631 | m_log.Info("[LLOGIN SERVICE]: Last Region Not Found Attempting to find random region"); |
627 | region = FindAlternativeRegion(scopeID); | 632 | region = FindAlternativeRegion(scopeID); |
628 | if (region != null) | 633 | if (region != null) |
634 | { | ||
635 | flags |= TeleportFlags.ViaRegionID; | ||
629 | where = "safe"; | 636 | where = "safe"; |
637 | } | ||
630 | } | 638 | } |
631 | 639 | ||
632 | } | 640 | } |