mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
* This is the fabled LibOMV update with all of the libOMV types from JHurliman
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
This commit is contained in:
@@ -26,15 +26,15 @@
|
||||
*/
|
||||
|
||||
using System.Text;
|
||||
using libsecondlife;
|
||||
using OpenMetaverse;
|
||||
|
||||
namespace OpenSim.Framework
|
||||
{
|
||||
public class AssetLandmark : AssetBase
|
||||
{
|
||||
public LLVector3 Position;
|
||||
public Vector3 Position;
|
||||
public ulong RegionHandle;
|
||||
public LLUUID RegionID;
|
||||
public UUID RegionID;
|
||||
public int Version;
|
||||
|
||||
public AssetLandmark(AssetBase a)
|
||||
@@ -52,8 +52,8 @@ namespace OpenSim.Framework
|
||||
string temp = Encoding.UTF8.GetString(Data).Trim();
|
||||
string[] parts = temp.Split('\n');
|
||||
int.TryParse(parts[0].Substring(17, 1), out Version);
|
||||
LLUUID.TryParse(parts[1].Substring(10, 36), out RegionID);
|
||||
LLVector3.TryParse(parts[2].Substring(10, parts[2].Length - 10), out Position);
|
||||
UUID.TryParse(parts[1].Substring(10, 36), out RegionID);
|
||||
Vector3.TryParse(parts[2].Substring(10, parts[2].Length - 10), out Position);
|
||||
ulong.TryParse(parts[3].Substring(14, parts[3].Length - 14), out RegionHandle);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user