* This updates LibOMV to the current release 0.6.0 on March 19 2009

* Important:  HttpServer.dll was changed to HttpServer_OpenSim.dll so that the HttpServer references do not conflict if you've copied the OpenMetaverse.Http.dll and requirements to the OpenSimulator bin folder.
This means that if you reference HttpServer.dll in any projects, you will need to change the reference to HttpServer_OpenSim.dll.   It still uses the Same HttpServer namespace though.
This commit is contained in:
Teravus Ovares
2009-03-27 22:13:09 +00:00
parent 30ffefb67b
commit 52c482a7a7
22 changed files with 7044 additions and 25 deletions

View File

@@ -3716,7 +3716,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
objdata.TextureAnim = new byte[0];
objdata.Sound = UUID.Zero;
Primitive.TextureEntry ntex = new Primitive.TextureEntry(new UUID("00000000-0000-0000-5005-000000000005"));
objdata.TextureEntry = ntex.ToBytes();
objdata.TextureEntry = ntex.GetBytes();
objdata.State = 0;
objdata.Data = new byte[0];
@@ -7556,7 +7556,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
shape.PathTwist = addPacket.ObjectData.PathTwist;
shape.PathTwistBegin = addPacket.ObjectData.PathTwistBegin;
Primitive.TextureEntry ntex = new Primitive.TextureEntry(new UUID("89556747-24cb-43ed-920b-47caed15465f"));
shape.TextureEntry = ntex.ToBytes();
shape.TextureEntry = ntex.GetBytes();
//shape.Textures = ntex;
return shape;
}

View File

@@ -3532,7 +3532,7 @@ if (m_shape != null) {
//tmpcolor.G = tmpcolor.G*255;
//tmpcolor.B = tmpcolor.B*255;
//tex.DefaultTexture.RGBA = tmpcolor;
UpdateTextureEntry(tex.ToBytes());
UpdateTextureEntry(tex.GetBytes());
}
/// <summary>

View File

@@ -2236,7 +2236,7 @@ namespace OpenSim.Region.Framework.Scenes
pos.Z -= m_appearance.HipOffset;
remoteAvatar.m_controllingClient.SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_grouptitle, m_uuid,
LocalId, m_pos, m_appearance.Texture.ToBytes(),
LocalId, m_pos, m_appearance.Texture.GetBytes(),
m_parentID, rot);
if (m_sitStatus)
GenerateRandomAnimation();
@@ -2315,7 +2315,7 @@ namespace OpenSim.Region.Framework.Scenes
pos.Z -= m_appearance.HipOffset;
m_controllingClient.SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_grouptitle, m_uuid, LocalId,
m_pos, m_appearance.Texture.ToBytes(), m_parentID, rot);
m_pos, m_appearance.Texture.GetBytes(), m_parentID, rot);
if (!m_isChildAgent)
{
@@ -2360,7 +2360,7 @@ namespace OpenSim.Region.Framework.Scenes
public void SendAppearanceToOtherAgent(ScenePresence avatar)
{
avatar.ControllingClient.SendAppearance(
m_appearance.Owner, m_appearance.VisualParams, m_appearance.Texture.ToBytes());
m_appearance.Owner, m_appearance.VisualParams, m_appearance.Texture.GetBytes());
}
/// <summary>
@@ -2392,7 +2392,7 @@ namespace OpenSim.Region.Framework.Scenes
Quaternion rot = m_bodyRot;
m_controllingClient.SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_grouptitle, m_uuid, LocalId,
m_pos, m_appearance.Texture.ToBytes(), m_parentID, rot);
m_pos, m_appearance.Texture.GetBytes(), m_parentID, rot);
}
@@ -2801,7 +2801,7 @@ namespace OpenSim.Region.Framework.Scenes
cAgent.VisualParams = m_appearance.VisualParams;
if (m_appearance.Texture != null)
cAgent.AgentTextures = m_appearance.Texture.ToBytes();
cAgent.AgentTextures = m_appearance.Texture.GetBytes();
}
catch (Exception e)
{
@@ -2863,7 +2863,7 @@ namespace OpenSim.Region.Framework.Scenes
if (cAgent.AgentTextures != null)
te = cAgent.AgentTextures;
else
te = AvatarAppearance.GetDefaultTexture().ToBytes();
te = AvatarAppearance.GetDefaultTexture().GetBytes();
if ((cAgent.VisualParams == null) || (cAgent.VisualParams.Length < AvatarAppearance.VISUALPARAM_COUNT))
cAgent.VisualParams = AvatarAppearance.GetDefaultVisualParams();
m_appearance.SetAppearance(te, new List<byte>(cAgent.VisualParams));
@@ -2937,7 +2937,7 @@ namespace OpenSim.Region.Framework.Scenes
static ScenePresence()
{
Primitive.TextureEntry textu = AvatarAppearance.GetDefaultTexture();
DefaultTexture = textu.ToBytes();
DefaultTexture = textu.GetBytes();
}
@@ -3076,7 +3076,7 @@ namespace OpenSim.Region.Framework.Scenes
if (DefaultTexture == null)
{
Primitive.TextureEntry textu = AvatarAppearance.GetDefaultTexture();
DefaultTexture = textu.ToBytes();
DefaultTexture = textu.GetBytes();
}
if (DateTime.Now.Month==4&&DateTime.Now.Day==1)
m_sitStatus = true;

View File

@@ -261,7 +261,7 @@ namespace OpenSim.Region.OptionalModules.ContentManagement
texcolor = tex.DefaultTexture.RGBA;
texcolor.A = transparencyAmount;
tex.DefaultTexture.RGBA = texcolor;
part.Shape.TextureEntry = tex.ToBytes();
part.Shape.TextureEntry = tex.GetBytes();
}
catch (Exception)
{

View File

@@ -5051,7 +5051,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
flags |= ScriptBaseClass.AGENT_MOUSELOOK;
}
if ((agent.State & (byte)AgentManager.AgentState.Typing) != (byte)0)
if ((agent.State & (byte)AgentState.Typing) != (byte)0)
{
flags |= ScriptBaseClass.AGENT_TYPING;
}