From 5c8a93c4262f3197a02645aea6c2b7362fd6784e Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 26 May 2008 01:50:40 +0000 Subject: * Extract and boil down necessary texture UUIDs for an archive of the scene prims * no user functionality yet --- OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs') diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index c6b3059..4b174e3 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs @@ -85,7 +85,6 @@ namespace OpenSim.Region.Environment.Scenes [Serializable] public partial class SceneObjectPart : IScriptHost, ISerializable { - [XmlIgnore] public PhysicsActor PhysActor = null; public LLUUID LastOwnerID; @@ -103,7 +102,6 @@ namespace OpenSim.Region.Environment.Scenes [XmlIgnore] private LLObject.ObjectFlags LocalFlags = LLObject.ObjectFlags.None; [XmlIgnore] public bool DIE_AT_EDGE = false; - [XmlIgnore] public bool m_IsAttachment = false; [XmlIgnore] public uint m_attachmentPoint = (byte)0; [XmlIgnore] public LLUUID m_attachedAvatar = LLUUID.Zero; @@ -700,7 +698,6 @@ namespace OpenSim.Region.Environment.Scenes get { return m_shape; } set { - m_shape = value; TriggerScriptChangedEvent(Changed.SHAPE); } @@ -1949,6 +1946,7 @@ namespace OpenSim.Region.Environment.Scenes public void UpdateExtraParam(ushort type, bool inUse, byte[] data) { m_shape.ReadInUpdateExtraParam(type, inUse, data); + if (type == 0x30) { if (m_shape.SculptEntry && m_shape.SculptTexture != LLUUID.Zero) @@ -1957,9 +1955,10 @@ namespace OpenSim.Region.Environment.Scenes m_parentGroup.Scene.AssetCache.GetAsset(m_shape.SculptTexture, SculptTextureCallback, true); } } + ScheduleFullUpdate(); - } + public void SculptTextureCallback(LLUUID textureID, AssetBase texture) { if (m_shape.SculptEntry) -- cgit v1.1