aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorTeravus Ovares2009-03-27 22:13:09 +0000
committerTeravus Ovares2009-03-27 22:13:09 +0000
commit52c482a7a7b297715cbcd7460edb1ad07d7a06c6 (patch)
tree67fbfb7d080f5c6d5575c1be39d8c92a46ab6360 /OpenSim
parent* refactor: call some EventManager triggers directly rather than through scene (diff)
downloadopensim-SC-52c482a7a7b297715cbcd7460edb1ad07d7a06c6.zip
opensim-SC-52c482a7a7b297715cbcd7460edb1ad07d7a06c6.tar.gz
opensim-SC-52c482a7a7b297715cbcd7460edb1ad07d7a06c6.tar.bz2
opensim-SC-52c482a7a7b297715cbcd7460edb1ad07d7a06c6.tar.xz
* 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.
Diffstat (limited to '')
-rw-r--r--OpenSim/Client/MXP/ClientStack/MXPClientView.cs2
-rw-r--r--OpenSim/Data/MSSQL/MSSQLUserData.cs2
-rw-r--r--OpenSim/Data/MySQL/MySQLManager.cs2
-rw-r--r--OpenSim/Data/NHibernate/TextureUserType.cs4
-rw-r--r--OpenSim/Framework/AvatarAppearance.cs2
-rw-r--r--OpenSim/Framework/PrimitiveBaseShape.cs2
-rw-r--r--OpenSim/Grid/UserServer.Modules/MessageServersConnector.cs4
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs4
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs2
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs16
-rw-r--r--OpenSim/Region/OptionalModules/ContentManagementSystem/MetaEntity.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
12 files changed, 22 insertions, 22 deletions
diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
index 3f04b55..8226ac9 100644
--- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
+++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs
@@ -815,7 +815,7 @@ namespace OpenSim.Client.MXP.ClientStack
815 { 815 {
816 visualParams.Add(visualParam); 816 visualParams.Add(visualParam);
817 } 817 }
818 OnSetAppearance(appearance.Texture.ToBytes(), visualParams); 818 OnSetAppearance(appearance.Texture.GetBytes(), visualParams);
819 } 819 }
820 820
821 public void Stop() 821 public void Stop()
diff --git a/OpenSim/Data/MSSQL/MSSQLUserData.cs b/OpenSim/Data/MSSQL/MSSQLUserData.cs
index e0db622..379b8bf 100644
--- a/OpenSim/Data/MSSQL/MSSQLUserData.cs
+++ b/OpenSim/Data/MSSQL/MSSQLUserData.cs
@@ -597,7 +597,7 @@ namespace OpenSim.Data.MSSQL
597 cmd.Parameters.Add(database.CreateParameter("@owner", appearance.Owner)); 597 cmd.Parameters.Add(database.CreateParameter("@owner", appearance.Owner));
598 cmd.Parameters.Add(database.CreateParameter("@serial", appearance.Serial)); 598 cmd.Parameters.Add(database.CreateParameter("@serial", appearance.Serial));
599 cmd.Parameters.Add(database.CreateParameter("@visual_params", appearance.VisualParams)); 599 cmd.Parameters.Add(database.CreateParameter("@visual_params", appearance.VisualParams));
600 cmd.Parameters.Add(database.CreateParameter("@texture", appearance.Texture.ToBytes())); 600 cmd.Parameters.Add(database.CreateParameter("@texture", appearance.Texture.GetBytes()));
601 cmd.Parameters.Add(database.CreateParameter("@avatar_height", appearance.AvatarHeight)); 601 cmd.Parameters.Add(database.CreateParameter("@avatar_height", appearance.AvatarHeight));
602 cmd.Parameters.Add(database.CreateParameter("@body_item", appearance.BodyItem)); 602 cmd.Parameters.Add(database.CreateParameter("@body_item", appearance.BodyItem));
603 cmd.Parameters.Add(database.CreateParameter("@body_asset", appearance.BodyAsset)); 603 cmd.Parameters.Add(database.CreateParameter("@body_asset", appearance.BodyAsset));
diff --git a/OpenSim/Data/MySQL/MySQLManager.cs b/OpenSim/Data/MySQL/MySQLManager.cs
index 2f14f16..ad022a5 100644
--- a/OpenSim/Data/MySQL/MySQLManager.cs
+++ b/OpenSim/Data/MySQL/MySQLManager.cs
@@ -1171,7 +1171,7 @@ namespace OpenSim.Data.MySQL
1171 cmd.Parameters.AddWithValue("?owner", appearance.Owner.ToString()); 1171 cmd.Parameters.AddWithValue("?owner", appearance.Owner.ToString());
1172 cmd.Parameters.AddWithValue("?serial", appearance.Serial); 1172 cmd.Parameters.AddWithValue("?serial", appearance.Serial);
1173 cmd.Parameters.AddWithValue("?visual_params", appearance.VisualParams); 1173 cmd.Parameters.AddWithValue("?visual_params", appearance.VisualParams);
1174 cmd.Parameters.AddWithValue("?texture", appearance.Texture.ToBytes()); 1174 cmd.Parameters.AddWithValue("?texture", appearance.Texture.GetBytes());
1175 cmd.Parameters.AddWithValue("?avatar_height", appearance.AvatarHeight); 1175 cmd.Parameters.AddWithValue("?avatar_height", appearance.AvatarHeight);
1176 cmd.Parameters.AddWithValue("?body_item", appearance.BodyItem.ToString()); 1176 cmd.Parameters.AddWithValue("?body_item", appearance.BodyItem.ToString());
1177 cmd.Parameters.AddWithValue("?body_asset", appearance.BodyAsset.ToString()); 1177 cmd.Parameters.AddWithValue("?body_asset", appearance.BodyAsset.ToString());
diff --git a/OpenSim/Data/NHibernate/TextureUserType.cs b/OpenSim/Data/NHibernate/TextureUserType.cs
index 57a580d..8da32ac 100644
--- a/OpenSim/Data/NHibernate/TextureUserType.cs
+++ b/OpenSim/Data/NHibernate/TextureUserType.cs
@@ -57,7 +57,7 @@ namespace OpenSim.Data.NHibernate
57 } 57 }
58 else 58 else
59 { 59 {
60 byte[] bytes = ((Primitive.TextureEntry)texture).ToBytes(); 60 byte[] bytes = ((Primitive.TextureEntry)texture).GetBytes();
61 return new Primitive.TextureEntry(bytes, 0, bytes.Length); 61 return new Primitive.TextureEntry(bytes, 0, bytes.Length);
62 } 62 }
63 } 63 }
@@ -94,7 +94,7 @@ namespace OpenSim.Data.NHibernate
94 public void NullSafeSet(IDbCommand cmd, object obj, int index) 94 public void NullSafeSet(IDbCommand cmd, object obj, int index)
95 { 95 {
96 Primitive.TextureEntry texture = (Primitive.TextureEntry)obj; 96 Primitive.TextureEntry texture = (Primitive.TextureEntry)obj;
97 ((IDataParameter)cmd.Parameters[index]).Value = texture.ToBytes(); 97 ((IDataParameter)cmd.Parameters[index]).Value = texture.GetBytes();
98 } 98 }
99 99
100 public object Replace(object original, object target, object owner) 100 public object Replace(object original, object target, object owner)
diff --git a/OpenSim/Framework/AvatarAppearance.cs b/OpenSim/Framework/AvatarAppearance.cs
index 8d0d699..ec31018 100644
--- a/OpenSim/Framework/AvatarAppearance.cs
+++ b/OpenSim/Framework/AvatarAppearance.cs
@@ -386,7 +386,7 @@ namespace OpenSim.Framework
386 h["owner"] = Owner.ToString(); 386 h["owner"] = Owner.ToString();
387 h["serial"] = Serial.ToString(); 387 h["serial"] = Serial.ToString();
388 h["visual_params"] = VisualParams; 388 h["visual_params"] = VisualParams;
389 h["texture"] = Texture.ToBytes(); 389 h["texture"] = Texture.GetBytes();
390 h["avatar_height"] = AvatarHeight.ToString(); 390 h["avatar_height"] = AvatarHeight.ToString();
391 h["body_item"] = BodyItem.ToString(); 391 h["body_item"] = BodyItem.ToString();
392 h["body_asset"] = BodyAsset.ToString(); 392 h["body_asset"] = BodyAsset.ToString();
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs
index 2dfc321..300e37c 100644
--- a/OpenSim/Framework/PrimitiveBaseShape.cs
+++ b/OpenSim/Framework/PrimitiveBaseShape.cs
@@ -201,7 +201,7 @@ namespace OpenSim.Framework
201 return new Primitive.TextureEntry(m_textureEntry, 0, m_textureEntry.Length); 201 return new Primitive.TextureEntry(m_textureEntry, 0, m_textureEntry.Length);
202 } 202 }
203 203
204 set { m_textureEntry = value.ToBytes(); } 204 set { m_textureEntry = value.GetBytes(); }
205 } 205 }
206 206
207 public byte[] TextureEntry 207 public byte[] TextureEntry
diff --git a/OpenSim/Grid/UserServer.Modules/MessageServersConnector.cs b/OpenSim/Grid/UserServer.Modules/MessageServersConnector.cs
index f9e7889..5080405 100644
--- a/OpenSim/Grid/UserServer.Modules/MessageServersConnector.cs
+++ b/OpenSim/Grid/UserServer.Modules/MessageServersConnector.cs
@@ -74,8 +74,8 @@ namespace OpenSim.Grid.UserServer.Modules
74 74
75 private BaseHttpServer m_httpServer; 75 private BaseHttpServer m_httpServer;
76 76
77 private BlockingQueue<PresenceNotification> m_NotifyQueue = 77 private OpenSim.Framework.BlockingQueue<PresenceNotification> m_NotifyQueue =
78 new BlockingQueue<PresenceNotification>(); 78 new OpenSim.Framework.BlockingQueue<PresenceNotification>();
79 79
80 Thread m_NotifyThread; 80 Thread m_NotifyThread;
81 81
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 }