mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
several changes to land handling. Landchannel.cs is just a wrrapper for landmanagementmodule, so let module be it and ignore all code on landchannel.cs, to remove one day; make parcel fakeID more a thing (it is our actual parcel ID. proper globalID cannot be sent to viewers, because HG, etc.
This commit is contained in:
@@ -46,11 +46,6 @@ namespace OpenSim.Framework
|
||||
/// </summary>
|
||||
public class LandData
|
||||
{
|
||||
// use only one serializer to give the runtime a chance to
|
||||
// optimize it (it won't do that if you use a new instance
|
||||
// every time)
|
||||
private static XmlSerializer serializer = new XmlSerializer(typeof(LandData));
|
||||
|
||||
private Vector3 _AABBMax = new Vector3();
|
||||
private Vector3 _AABBMin = new Vector3();
|
||||
private int _area = 0;
|
||||
@@ -382,7 +377,7 @@ namespace OpenSim.Framework
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// jp2 data for the image representative of the parcel in the parcel dialog
|
||||
/// parcel shape in bits per ocupied location
|
||||
/// </summary>
|
||||
public byte[] Bitmap
|
||||
{
|
||||
@@ -837,22 +832,5 @@ namespace OpenSim.Framework
|
||||
|
||||
return landData;
|
||||
}
|
||||
|
||||
// public void ToXml(XmlWriter xmlWriter)
|
||||
// {
|
||||
// serializer.Serialize(xmlWriter, this);
|
||||
// }
|
||||
|
||||
/// <summary>
|
||||
/// Restore a LandData object from the serialized xml representation.
|
||||
/// </summary>
|
||||
/// <param name="xmlReader"></param>
|
||||
/// <returns></returns>
|
||||
// public static LandData FromXml(XmlReader xmlReader)
|
||||
// {
|
||||
// LandData land = (LandData)serializer.Deserialize(xmlReader);
|
||||
//
|
||||
// return land;
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user