diff options
Diffstat (limited to '')
5 files changed, 13 insertions, 13 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 84a32ff..537e24b 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -3716,7 +3716,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3716 | objdata.TextureAnim = new byte[0]; | 3716 | objdata.TextureAnim = new byte[0]; |
3717 | objdata.Sound = UUID.Zero; | 3717 | objdata.Sound = UUID.Zero; |
3718 | Primitive.TextureEntry ntex = new Primitive.TextureEntry(new UUID("00000000-0000-0000-5005-000000000005")); | 3718 | Primitive.TextureEntry ntex = new Primitive.TextureEntry(new UUID("00000000-0000-0000-5005-000000000005")); |
3719 | objdata.TextureEntry = ntex.ToBytes(); | 3719 | objdata.TextureEntry = ntex.GetBytes(); |
3720 | 3720 | ||
3721 | objdata.State = 0; | 3721 | objdata.State = 0; |
3722 | objdata.Data = new byte[0]; | 3722 | objdata.Data = new byte[0]; |
@@ -7556,7 +7556,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
7556 | shape.PathTwist = addPacket.ObjectData.PathTwist; | 7556 | shape.PathTwist = addPacket.ObjectData.PathTwist; |
7557 | shape.PathTwistBegin = addPacket.ObjectData.PathTwistBegin; | 7557 | shape.PathTwistBegin = addPacket.ObjectData.PathTwistBegin; |
7558 | Primitive.TextureEntry ntex = new Primitive.TextureEntry(new UUID("89556747-24cb-43ed-920b-47caed15465f")); | 7558 | Primitive.TextureEntry ntex = new Primitive.TextureEntry(new UUID("89556747-24cb-43ed-920b-47caed15465f")); |
7559 | shape.TextureEntry = ntex.ToBytes(); | 7559 | shape.TextureEntry = ntex.GetBytes(); |
7560 | //shape.Textures = ntex; | 7560 | //shape.Textures = ntex; |
7561 | return shape; | 7561 | return shape; |
7562 | } | 7562 | } |
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index d30a45f..2a5a563 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -3532,7 +3532,7 @@ if (m_shape != null) { | |||
3532 | //tmpcolor.G = tmpcolor.G*255; | 3532 | //tmpcolor.G = tmpcolor.G*255; |
3533 | //tmpcolor.B = tmpcolor.B*255; | 3533 | //tmpcolor.B = tmpcolor.B*255; |
3534 | //tex.DefaultTexture.RGBA = tmpcolor; | 3534 | //tex.DefaultTexture.RGBA = tmpcolor; |
3535 | UpdateTextureEntry(tex.ToBytes()); | 3535 | UpdateTextureEntry(tex.GetBytes()); |
3536 | } | 3536 | } |
3537 | 3537 | ||
3538 | /// <summary> | 3538 | /// <summary> |
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index c78aceb..42820c4 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2236,7 +2236,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2236 | pos.Z -= m_appearance.HipOffset; | 2236 | pos.Z -= m_appearance.HipOffset; |
2237 | 2237 | ||
2238 | remoteAvatar.m_controllingClient.SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_grouptitle, m_uuid, | 2238 | remoteAvatar.m_controllingClient.SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_grouptitle, m_uuid, |
2239 | LocalId, m_pos, m_appearance.Texture.ToBytes(), | 2239 | LocalId, m_pos, m_appearance.Texture.GetBytes(), |
2240 | m_parentID, rot); | 2240 | m_parentID, rot); |
2241 | if (m_sitStatus) | 2241 | if (m_sitStatus) |
2242 | GenerateRandomAnimation(); | 2242 | GenerateRandomAnimation(); |
@@ -2315,7 +2315,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2315 | pos.Z -= m_appearance.HipOffset; | 2315 | pos.Z -= m_appearance.HipOffset; |
2316 | 2316 | ||
2317 | m_controllingClient.SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_grouptitle, m_uuid, LocalId, | 2317 | m_controllingClient.SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_grouptitle, m_uuid, LocalId, |
2318 | m_pos, m_appearance.Texture.ToBytes(), m_parentID, rot); | 2318 | m_pos, m_appearance.Texture.GetBytes(), m_parentID, rot); |
2319 | 2319 | ||
2320 | if (!m_isChildAgent) | 2320 | if (!m_isChildAgent) |
2321 | { | 2321 | { |
@@ -2360,7 +2360,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2360 | public void SendAppearanceToOtherAgent(ScenePresence avatar) | 2360 | public void SendAppearanceToOtherAgent(ScenePresence avatar) |
2361 | { | 2361 | { |
2362 | avatar.ControllingClient.SendAppearance( | 2362 | avatar.ControllingClient.SendAppearance( |
2363 | m_appearance.Owner, m_appearance.VisualParams, m_appearance.Texture.ToBytes()); | 2363 | m_appearance.Owner, m_appearance.VisualParams, m_appearance.Texture.GetBytes()); |
2364 | } | 2364 | } |
2365 | 2365 | ||
2366 | /// <summary> | 2366 | /// <summary> |
@@ -2392,7 +2392,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2392 | 2392 | ||
2393 | Quaternion rot = m_bodyRot; | 2393 | Quaternion rot = m_bodyRot; |
2394 | m_controllingClient.SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_grouptitle, m_uuid, LocalId, | 2394 | m_controllingClient.SendAvatarData(m_regionInfo.RegionHandle, m_firstname, m_lastname, m_grouptitle, m_uuid, LocalId, |
2395 | m_pos, m_appearance.Texture.ToBytes(), m_parentID, rot); | 2395 | m_pos, m_appearance.Texture.GetBytes(), m_parentID, rot); |
2396 | 2396 | ||
2397 | } | 2397 | } |
2398 | 2398 | ||
@@ -2801,7 +2801,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2801 | cAgent.VisualParams = m_appearance.VisualParams; | 2801 | cAgent.VisualParams = m_appearance.VisualParams; |
2802 | 2802 | ||
2803 | if (m_appearance.Texture != null) | 2803 | if (m_appearance.Texture != null) |
2804 | cAgent.AgentTextures = m_appearance.Texture.ToBytes(); | 2804 | cAgent.AgentTextures = m_appearance.Texture.GetBytes(); |
2805 | } | 2805 | } |
2806 | catch (Exception e) | 2806 | catch (Exception e) |
2807 | { | 2807 | { |
@@ -2863,7 +2863,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2863 | if (cAgent.AgentTextures != null) | 2863 | if (cAgent.AgentTextures != null) |
2864 | te = cAgent.AgentTextures; | 2864 | te = cAgent.AgentTextures; |
2865 | else | 2865 | else |
2866 | te = AvatarAppearance.GetDefaultTexture().ToBytes(); | 2866 | te = AvatarAppearance.GetDefaultTexture().GetBytes(); |
2867 | if ((cAgent.VisualParams == null) || (cAgent.VisualParams.Length < AvatarAppearance.VISUALPARAM_COUNT)) | 2867 | if ((cAgent.VisualParams == null) || (cAgent.VisualParams.Length < AvatarAppearance.VISUALPARAM_COUNT)) |
2868 | cAgent.VisualParams = AvatarAppearance.GetDefaultVisualParams(); | 2868 | cAgent.VisualParams = AvatarAppearance.GetDefaultVisualParams(); |
2869 | m_appearance.SetAppearance(te, new List<byte>(cAgent.VisualParams)); | 2869 | m_appearance.SetAppearance(te, new List<byte>(cAgent.VisualParams)); |
@@ -2937,7 +2937,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2937 | static ScenePresence() | 2937 | static ScenePresence() |
2938 | { | 2938 | { |
2939 | Primitive.TextureEntry textu = AvatarAppearance.GetDefaultTexture(); | 2939 | Primitive.TextureEntry textu = AvatarAppearance.GetDefaultTexture(); |
2940 | DefaultTexture = textu.ToBytes(); | 2940 | DefaultTexture = textu.GetBytes(); |
2941 | 2941 | ||
2942 | } | 2942 | } |
2943 | 2943 | ||
@@ -3076,7 +3076,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3076 | if (DefaultTexture == null) | 3076 | if (DefaultTexture == null) |
3077 | { | 3077 | { |
3078 | Primitive.TextureEntry textu = AvatarAppearance.GetDefaultTexture(); | 3078 | Primitive.TextureEntry textu = AvatarAppearance.GetDefaultTexture(); |
3079 | DefaultTexture = textu.ToBytes(); | 3079 | DefaultTexture = textu.GetBytes(); |
3080 | } | 3080 | } |
3081 | if (DateTime.Now.Month==4&&DateTime.Now.Day==1) | 3081 | if (DateTime.Now.Month==4&&DateTime.Now.Day==1) |
3082 | m_sitStatus = true; | 3082 | m_sitStatus = true; |
diff --git a/OpenSim/Region/OptionalModules/ContentManagementSystem/MetaEntity.cs b/OpenSim/Region/OptionalModules/ContentManagementSystem/MetaEntity.cs index dbd84fb..7ff58da 100644 --- a/OpenSim/Region/OptionalModules/ContentManagementSystem/MetaEntity.cs +++ b/OpenSim/Region/OptionalModules/ContentManagementSystem/MetaEntity.cs | |||
@@ -261,7 +261,7 @@ namespace OpenSim.Region.OptionalModules.ContentManagement | |||
261 | texcolor = tex.DefaultTexture.RGBA; | 261 | texcolor = tex.DefaultTexture.RGBA; |
262 | texcolor.A = transparencyAmount; | 262 | texcolor.A = transparencyAmount; |
263 | tex.DefaultTexture.RGBA = texcolor; | 263 | tex.DefaultTexture.RGBA = texcolor; |
264 | part.Shape.TextureEntry = tex.ToBytes(); | 264 | part.Shape.TextureEntry = tex.GetBytes(); |
265 | } | 265 | } |
266 | catch (Exception) | 266 | catch (Exception) |
267 | { | 267 | { |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index f47b3eb..9819ce0 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -5051,7 +5051,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
5051 | flags |= ScriptBaseClass.AGENT_MOUSELOOK; | 5051 | flags |= ScriptBaseClass.AGENT_MOUSELOOK; |
5052 | } | 5052 | } |
5053 | 5053 | ||
5054 | if ((agent.State & (byte)AgentManager.AgentState.Typing) != (byte)0) | 5054 | if ((agent.State & (byte)AgentState.Typing) != (byte)0) |
5055 | { | 5055 | { |
5056 | flags |= ScriptBaseClass.AGENT_TYPING; | 5056 | flags |= ScriptBaseClass.AGENT_TYPING; |
5057 | } | 5057 | } |