From 7d89e122930be39e84a6d174548fa2d12ac0484a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sat, 6 Sep 2008 07:52:41 +0000 Subject: * 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. --- .../Modules/ContentManagementSystem/MetaEntity.cs | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/ContentManagementSystem/MetaEntity.cs') diff --git a/OpenSim/Region/Environment/Modules/ContentManagementSystem/MetaEntity.cs b/OpenSim/Region/Environment/Modules/ContentManagementSystem/MetaEntity.cs index 4823bfd..5a6dbc8 100644 --- a/OpenSim/Region/Environment/Modules/ContentManagementSystem/MetaEntity.cs +++ b/OpenSim/Region/Environment/Modules/ContentManagementSystem/MetaEntity.cs @@ -39,7 +39,7 @@ using System; using System.Collections.Generic; using System.Drawing; -using libsecondlife; +using OpenMetaverse; using Nini.Config; @@ -50,8 +50,6 @@ using OpenSim.Region.Physics.Manager; using log4net; -using Axiom.Math; - namespace OpenSim.Region.Environment.Modules.ContentManagement { public class MetaEntity @@ -109,7 +107,7 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement #region Public Properties - public Dictionary Children + public Dictionary Children { get { return m_Entity.Children; } set { m_Entity.Children = value; } @@ -142,7 +140,7 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement get { return m_Entity.Scene; } } - public LLUUID UUID + public UUID UUID { get { return m_Entity.UUID; } set { m_Entity.UUID = value; } @@ -161,7 +159,7 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement protected void Initialize(bool physics) { //make new uuids - Dictionary parts = new Dictionary(); + Dictionary parts = new Dictionary(); foreach(SceneObjectPart part in m_Entity.Children.Values) { part.ResetIDs(part.LinkNum); @@ -191,7 +189,7 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement //This is important because we are not IN any database. //m_Entity.FakeDeleteGroup(); foreach( SceneObjectPart part in m_Entity.Children.Values) - client.SendKillObject(m_Entity.RegionHandle, part.LocalId); + client.SendKiPrimitive(m_Entity.RegionHandle, part.LocalId); } /// @@ -201,7 +199,7 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement { foreach( SceneObjectPart part in m_Entity.Children.Values) m_Entity.Scene.ClientManager.ForEachClient(delegate(IClientAPI controller) - { controller.SendKillObject(m_Entity.RegionHandle, part.LocalId); } + { controller.SendKiPrimitive(m_Entity.RegionHandle, part.LocalId); } ); } @@ -237,12 +235,12 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement /// public static void SetPartTransparency(SceneObjectPart part, float transparencyAmount) { - LLObject.TextureEntry tex = null; - LLColor texcolor; + Primitive.TextureEntry tex = null; + Color4 texcolor; try { tex = part.Shape.Textures; - texcolor = new LLColor(); + texcolor = new Color4(); } catch(Exception) { @@ -280,4 +278,4 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement #endregion Public Methods } -} \ No newline at end of file +} -- cgit v1.1