aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/SQLite/SQLiteRegionData.cs2
-rw-r--r--OpenSim/Framework/PrimitiveBaseShape.cs11
-rw-r--r--OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs3
-rw-r--r--OpenSim/Region/Environment/Modules/World/Archiver/AssetsRequest.cs9
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs2
5 files changed, 17 insertions, 10 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs
index f780d1d..b937272 100644
--- a/OpenSim/Data/SQLite/SQLiteRegionData.cs
+++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs
@@ -261,7 +261,7 @@ namespace OpenSim.Data.SQLite
261 shapeRow.Delete(); 261 shapeRow.Delete();
262 } 262 }
263 263
264 RemoveItems(uuid); 264 RemoveItems(uuid);
265 265
266 // Remove prim row 266 // Remove prim row
267 row.Delete(); 267 row.Delete();
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs
index 5657b66..ef74b54 100644
--- a/OpenSim/Framework/PrimitiveBaseShape.cs
+++ b/OpenSim/Framework/PrimitiveBaseShape.cs
@@ -169,9 +169,6 @@ namespace OpenSim.Framework
169 } 169 }
170 } 170 }
171 171
172
173
174
175 static PrimitiveBaseShape() 172 static PrimitiveBaseShape()
176 { 173 {
177 m_defaultTexture = 174 m_defaultTexture =
@@ -188,7 +185,11 @@ namespace OpenSim.Framework
188 [XmlIgnore] 185 [XmlIgnore]
189 public LLObject.TextureEntry Textures 186 public LLObject.TextureEntry Textures
190 { 187 {
191 get { return new LLObject.TextureEntry(m_textureEntry, 0, m_textureEntry.Length); } 188 get
189 {
190 //m_log.DebugFormat("[PRIMITIVE BASE SHAPE]: get m_textureEntry length {0}", m_textureEntry.Length);
191 return new LLObject.TextureEntry(m_textureEntry, 0, m_textureEntry.Length);
192 }
192 193
193 set { m_textureEntry = value.ToBytes(); } 194 set { m_textureEntry = value.ToBytes(); }
194 } 195 }
@@ -206,8 +207,6 @@ namespace OpenSim.Framework
206 } 207 }
207 } 208 }
208 209
209
210
211 public static PrimitiveBaseShape Default 210 public static PrimitiveBaseShape Default
212 { 211 {
213 get 212 get
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs
index 8236b6c..327808a 100644
--- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs
+++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs
@@ -199,7 +199,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
199 protected void GetSceneObjectAssetUuids(SceneObjectGroup sceneObject, IDictionary<LLUUID, int> assetUuids) 199 protected void GetSceneObjectAssetUuids(SceneObjectGroup sceneObject, IDictionary<LLUUID, int> assetUuids)
200 { 200 {
201 m_log.DebugFormat( 201 m_log.DebugFormat(
202 "[ARCHIVER]: Getting assets for object {0}, {1}", sceneObject.RootPart.Name, sceneObject.UUID); 202 "[ARCHIVER]: Getting assets for object {0}, {1}", sceneObject.Name, sceneObject.UUID);
203 203
204 foreach (SceneObjectPart part in sceneObject.GetParts()) 204 foreach (SceneObjectPart part in sceneObject.GetParts())
205 { 205 {
@@ -255,6 +255,7 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
255 catch (Exception e) 255 catch (Exception e)
256 { 256 {
257 m_log.ErrorFormat("[ARCHIVER]: Failed to get part - {0}", e); 257 m_log.ErrorFormat("[ARCHIVER]: Failed to get part - {0}", e);
258 m_log.DebugFormat("[ARCHIVER]: Texture entry length for prim was {0} (min is 46)", part.Shape.TextureEntry.Length);
258 } 259 }
259 } 260 }
260 } 261 }
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/AssetsRequest.cs b/OpenSim/Region/Environment/Modules/World/Archiver/AssetsRequest.cs
index 2fd79b1..6ffbcbb 100644
--- a/OpenSim/Region/Environment/Modules/World/Archiver/AssetsRequest.cs
+++ b/OpenSim/Region/Environment/Modules/World/Archiver/AssetsRequest.cs
@@ -30,8 +30,10 @@ using OpenSim.Framework.Communications.Cache;
30using OpenSim.Region.Environment.Interfaces; 30using OpenSim.Region.Environment.Interfaces;
31using OpenSim.Region.Environment.Scenes; 31using OpenSim.Region.Environment.Scenes;
32using System.Collections.Generic; 32using System.Collections.Generic;
33//using System.Reflection;
33using System.Threading; 34using System.Threading;
34using libsecondlife; 35using libsecondlife;
36//using log4net;
35 37
36namespace OpenSim.Region.Environment.Modules.World.Archiver 38namespace OpenSim.Region.Environment.Modules.World.Archiver
37{ 39{
@@ -40,6 +42,8 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
40 /// </summary> 42 /// </summary>
41 class AssetsRequest 43 class AssetsRequest
42 { 44 {
45 //private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
46
43 /// <summary> 47 /// <summary>
44 /// uuids to request 48 /// uuids to request
45 /// </summary> 49 /// </summary>
@@ -101,8 +105,11 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver
101 m_assets[assetID] = asset; 105 m_assets[assetID] = asset;
102 else 106 else
103 m_notFoundAssetUuids.Add(assetID); 107 m_notFoundAssetUuids.Add(assetID);
108
109 //m_log.DebugFormat(
110 // "[ARCHIVER]: Received {0} assets and notification of {1} missing assets", m_assets.Count, m_notFoundAssetUuids.Count);
104 111
105 if (m_assets.Count == m_repliesRequired) 112 if (m_assets.Count + m_notFoundAssetUuids.Count == m_repliesRequired)
106 { 113 {
107 // We want to stop using the asset cache thread asap as we now need to do the actual work of producing the archive 114 // We want to stop using the asset cache thread asap as we now need to do the actual work of producing the archive
108 Thread newThread = new Thread(PerformAssetsRequestCallback); 115 Thread newThread = new Thread(PerformAssetsRequestCallback);
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index e982c35..23490fc 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -828,7 +828,7 @@ namespace OpenSim.Region.Environment.Scenes
828 } 828 }
829 catch (Exception e) 829 catch (Exception e)
830 { 830 {
831 m_log.Error("Failed to add scened object part", e); 831 m_log.Error("Failed to add scene object part", e);
832 } 832 }
833 833
834 part.LinkNum = m_parts.Count; 834 part.LinkNum = m_parts.Count;