From 35b88b65803f6f9a48a21a4cc159363a159c9010 Mon Sep 17 00:00:00 2001
From: UbitUmarov
Date: Mon, 14 Dec 2015 12:47:17 +0000
Subject: removed unneeded funtions
---
.../CoreModules/World/Land/LandManagementModule.cs | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)
(limited to 'OpenSim')
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
index 08b9896..ebf106a 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs
@@ -944,7 +944,7 @@ namespace OpenSim.Region.CoreModules.World.Land
/// North Point
/// UUID of user who is trying to subdivide
/// Returns true if successful
- private void subdivide(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id)
+ public void Subdivide(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id)
{
//First, lets loop through the points and make sure they are all in the same peice of land
//Get the land object at start
@@ -1037,7 +1037,7 @@ namespace OpenSim.Region.CoreModules.World.Land
/// end y of selection area
/// UUID of the avatar trying to join the land objects
/// Returns true if successful
- private void join(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id)
+ public void Join(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id)
{
int index = 0;
int maxindex = -1;
@@ -1098,17 +1098,6 @@ namespace OpenSim.Region.CoreModules.World.Land
masterLandObject.SendLandUpdateToAvatarsOverMe();
m_scene.ForEachClient(SendParcelOverlay);
}
-
- public void Join(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id)
- {
- join(start_x, start_y, end_x, end_y, attempting_user_id);
- }
-
- public void Subdivide(int start_x, int start_y, int end_x, int end_y, UUID attempting_user_id)
- {
- subdivide(start_x, start_y, end_x, end_y, attempting_user_id);
- }
-
#endregion
#region Parcel Updating
@@ -1334,12 +1323,12 @@ namespace OpenSim.Region.CoreModules.World.Land
public void ClientOnParcelDivideRequest(int west, int south, int east, int north, IClientAPI remote_client)
{
- subdivide(west, south, east, north, remote_client.AgentId);
+ Subdivide(west, south, east, north, remote_client.AgentId);
}
public void ClientOnParcelJoinRequest(int west, int south, int east, int north, IClientAPI remote_client)
{
- join(west, south, east, north, remote_client.AgentId);
+ Join(west, south, east, north, remote_client.AgentId);
}
public void ClientOnParcelSelectObjects(int local_id, int request_type,
--
cgit v1.1