* 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:
Teravus Ovares
2008-09-06 07:52:41 +00:00
parent cbec2bf22b
commit 7d89e12293
388 changed files with 6811 additions and 7138 deletions

View File

@@ -28,7 +28,7 @@
using System;
using System.Collections.Generic;
using System.Data.Common;
using libsecondlife;
using OpenMetaverse;
using OpenSim.Data.Base;
namespace OpenSim.Data
@@ -47,17 +47,17 @@ namespace OpenSim.Data
string fieldName = FieldName;
object value = GetParamValue(obj);
if (ValueType == typeof(LLVector3))
if (ValueType == typeof(Vector3))
{
LLVector3 vector = (LLVector3)value;
Vector3 vector = (Vector3)value;
RawAddParam(command, fieldNames, fieldName + "X", vector.X);
RawAddParam(command, fieldNames, fieldName + "Y", vector.Y);
RawAddParam(command, fieldNames, fieldName + "Z", vector.Z);
}
else if (ValueType == typeof(LLQuaternion))
else if (ValueType == typeof(Quaternion))
{
LLQuaternion quaternion = (LLQuaternion)value;
Quaternion quaternion = (Quaternion)value;
RawAddParam(command, fieldNames, fieldName + "X", quaternion.X);
RawAddParam(command, fieldNames, fieldName + "Y", quaternion.Y);
@@ -76,18 +76,18 @@ namespace OpenSim.Data
OpenSimDataReader osreader = (OpenSimDataReader) reader;
if (ValueType == typeof(LLVector3))
if (ValueType == typeof(Vector3))
{
value = osreader.GetVector(FieldName);
}
else if (ValueType == typeof(LLQuaternion))
else if (ValueType == typeof(Quaternion))
{
value = osreader.GetQuaternion(FieldName);
}
else if (ValueType == typeof(LLUUID))
else if (ValueType == typeof(UUID))
{
Guid guid = reader.GetGuid(FieldName);
value = new LLUUID(guid);
value = new UUID(guid);
}
else
{