aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-04-17 01:25:41 +0100
committerJustin Clark-Casey (justincc)2012-04-17 01:25:41 +0100
commit24a0cc5261f1fd1a1d8779c8fb5e7d7fba98ed68 (patch)
tree3f5c985d49dac06300eb4fcfa0637e07f56fc45e /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentNull reference in llGetObjectMass on a seated avatar. (diff)
downloadopensim-SC-24a0cc5261f1fd1a1d8779c8fb5e7d7fba98ed68.zip
opensim-SC-24a0cc5261f1fd1a1d8779c8fb5e7d7fba98ed68.tar.gz
opensim-SC-24a0cc5261f1fd1a1d8779c8fb5e7d7fba98ed68.tar.bz2
opensim-SC-24a0cc5261f1fd1a1d8779c8fb5e7d7fba98ed68.tar.xz
refactor: Rename EstateSettings.IsEstateManager() to EstateSettings.IsEstateManagerOrOwner() to reflect what it actually does.
This makes it consistent with other parts of OpenSimulator that are treating ESTATE_MANAGER and ESTATE_OWNER as different entities. As per opensim-dev mailing list.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 641d742..b5f789b 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3832,7 +3832,7 @@ namespace OpenSim.Region.Framework.Scenes
3832 land.LandData.UserLocation != Vector3.Zero && 3832 land.LandData.UserLocation != Vector3.Zero &&
3833 land.LandData.OwnerID != m_uuid && 3833 land.LandData.OwnerID != m_uuid &&
3834 (!m_scene.Permissions.IsGod(m_uuid)) && 3834 (!m_scene.Permissions.IsGod(m_uuid)) &&
3835 (!m_scene.RegionInfo.EstateSettings.IsEstateManager(m_uuid))) 3835 (!m_scene.RegionInfo.EstateSettings.IsEstateManagerOrOwner(m_uuid)))
3836 { 3836 {
3837 float curr = Vector3.Distance(AbsolutePosition, pos); 3837 float curr = Vector3.Distance(AbsolutePosition, pos);
3838 if (Vector3.Distance(land.LandData.UserLocation, pos) < curr) 3838 if (Vector3.Distance(land.LandData.UserLocation, pos) < curr)
@@ -3852,7 +3852,7 @@ namespace OpenSim.Region.Framework.Scenes
3852 { 3852 {
3853 if (GodLevel < 200 && 3853 if (GodLevel < 200 &&
3854 ((!m_scene.Permissions.IsGod(m_uuid) && 3854 ((!m_scene.Permissions.IsGod(m_uuid) &&
3855 !m_scene.RegionInfo.EstateSettings.IsEstateManager(m_uuid)) || 3855 !m_scene.RegionInfo.EstateSettings.IsEstateManagerOrOwner(m_uuid)) ||
3856 (m_teleportFlags & TeleportFlags.ViaLocation) != 0 || 3856 (m_teleportFlags & TeleportFlags.ViaLocation) != 0 ||
3857 (m_teleportFlags & Constants.TeleportFlags.ViaHGLogin) != 0)) 3857 (m_teleportFlags & Constants.TeleportFlags.ViaHGLogin) != 0))
3858 { 3858 {
@@ -3920,7 +3920,7 @@ namespace OpenSim.Region.Framework.Scenes
3920 GodLevel < 200 && 3920 GodLevel < 200 &&
3921 ((land.LandData.OwnerID != m_uuid && 3921 ((land.LandData.OwnerID != m_uuid &&
3922 !m_scene.Permissions.IsGod(m_uuid) && 3922 !m_scene.Permissions.IsGod(m_uuid) &&
3923 !m_scene.RegionInfo.EstateSettings.IsEstateManager(m_uuid)) || 3923 !m_scene.RegionInfo.EstateSettings.IsEstateManagerOrOwner(m_uuid)) ||
3924 (m_teleportFlags & TeleportFlags.ViaLocation) != 0 || 3924 (m_teleportFlags & TeleportFlags.ViaLocation) != 0 ||
3925 (m_teleportFlags & Constants.TeleportFlags.ViaHGLogin) != 0)) 3925 (m_teleportFlags & Constants.TeleportFlags.ViaHGLogin) != 0))
3926 { 3926 {