* Unit tests for PrimObject byte and float conversion functions (most of them are broken right now)

* Removed the RezObject function which has been replaced by AddPrim

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@577 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2006-11-13 10:36:43 +00:00
parent 93b309d61f
commit d73699c7db
5 changed files with 147 additions and 70 deletions

View File

@@ -416,7 +416,7 @@ namespace libsecondlife
packet.AgentData.GroupID = prim.GroupID;
packet.ObjectData.State = (byte)prim.State;
packet.ObjectData.AddFlags = 2; // TODO: Why 2?
packet.ObjectData.AddFlags = ObjectFlags.CreateSelected;
packet.ObjectData.PCode = (byte)PCode.Prim;
packet.ObjectData.Material = (byte)prim.Material;
@@ -435,8 +435,8 @@ namespace libsecondlife
packet.ObjectData.PathSkew = PrimObject.PathSkewByte(prim.PathSkew);
packet.ObjectData.PathTaperX = PrimObject.PathTaperByte(prim.PathTaperX);
packet.ObjectData.PathTaperY = PrimObject.PathTaperByte(prim.PathTaperY);
packet.ObjectData.PathTwist = PrimObject.PathTwistByte(prim.PathTwist);
packet.ObjectData.PathTwistBegin = PrimObject.PathTwistByte(prim.PathTwistBegin);
packet.ObjectData.PathTwist = (sbyte)prim.PathTwist;
packet.ObjectData.PathTwistBegin = (sbyte)prim.PathTwistBegin;
packet.ObjectData.ProfileCurve = (byte)prim.ProfileCurve;
packet.ObjectData.ProfileBegin = PrimObject.ProfileBeginByte(prim.ProfileBegin);