diff options
author | Jeff Ames | 2008-05-18 23:06:50 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-18 23:06:50 +0000 |
commit | 6ec680918bc6876f1c1382fb534b653fc34da052 (patch) | |
tree | 7eedbb3fa05b9540de9bba4a583795f1ba919de4 /OpenSim/Region/DataSnapshot/LandSnapshot.cs | |
parent | Update svn properties. (diff) | |
download | opensim-SC-6ec680918bc6876f1c1382fb534b653fc34da052.zip opensim-SC-6ec680918bc6876f1c1382fb534b653fc34da052.tar.gz opensim-SC-6ec680918bc6876f1c1382fb534b653fc34da052.tar.bz2 opensim-SC-6ec680918bc6876f1c1382fb534b653fc34da052.tar.xz |
Formatting cleanup, minor refactoring. Fixed some comparisons of value types and null.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/DataSnapshot/LandSnapshot.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/DataSnapshot/LandSnapshot.cs b/OpenSim/Region/DataSnapshot/LandSnapshot.cs index 4bfa87a..02e80ba 100644 --- a/OpenSim/Region/DataSnapshot/LandSnapshot.cs +++ b/OpenSim/Region/DataSnapshot/LandSnapshot.cs | |||
@@ -23,7 +23,6 @@ | |||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | 24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * | ||
27 | */ | 26 | */ |
28 | 27 | ||
29 | using System; | 28 | using System; |
@@ -53,9 +52,9 @@ namespace OpenSim.Region.DataSnapshot.Providers | |||
53 | 52 | ||
54 | /* | 53 | /* |
55 | * David, I don't think we need this at all. When we do the snapshot, we can | 54 | * David, I don't think we need this at all. When we do the snapshot, we can |
56 | * simply look into the parcels that are marked for ShowDirectory -- see | 55 | * simply look into the parcels that are marked for ShowDirectory -- see |
57 | * conditional in RequestSnapshotData | 56 | * conditional in RequestSnapshotData |
58 | * | 57 | * |
59 | //Revise this, look for more direct way of checking for change in land | 58 | //Revise this, look for more direct way of checking for change in land |
60 | #region Client hooks | 59 | #region Client hooks |
61 | 60 | ||
@@ -119,7 +118,7 @@ namespace OpenSim.Region.DataSnapshot.Providers | |||
119 | } | 118 | } |
120 | 119 | ||
121 | public XmlNode RequestSnapshotData(XmlDocument nodeFactory) | 120 | public XmlNode RequestSnapshotData(XmlDocument nodeFactory) |
122 | { | 121 | { |
123 | ILandChannel landChannel = (LandChannel)m_scene.LandChannel; | 122 | ILandChannel landChannel = (LandChannel)m_scene.LandChannel; |
124 | Dictionary<int, ILandObject> landList = null; | 123 | Dictionary<int, ILandObject> landList = null; |
125 | try | 124 | try |