aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorlbsa712007-12-28 13:11:49 +0000
committerlbsa712007-12-28 13:11:49 +0000
commit5b720b4b3952e182203490961d99e46b8744775e (patch)
treec4f7b0f68217e063e8c47bb3977c7386781877f4 /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
parent* redid the AddNewPrim refactoring as that got lost in r2855 (diff)
downloadopensim-SC-5b720b4b3952e182203490961d99e46b8744775e.zip
opensim-SC-5b720b4b3952e182203490961d99e46b8744775e.tar.gz
opensim-SC-5b720b4b3952e182203490961d99e46b8744775e.tar.bz2
opensim-SC-5b720b4b3952e182203490961d99e46b8744775e.tar.xz
* Made a copy of parts before updating to avoid dictionary updated exceptions on big updates
* The part now uses the byte[] TextureEntry instead of the object
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index dad8812..d35cb76 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -1327,7 +1327,7 @@ namespace OpenSim.Region.Environment.Scenes
1327 /// <param name="textureEntry"></param> 1327 /// <param name="textureEntry"></param>
1328 public void UpdateTextureEntry(byte[] textureEntry) 1328 public void UpdateTextureEntry(byte[] textureEntry)
1329 { 1329 {
1330 m_shape.Textures = new LLObject.TextureEntry(textureEntry, 0, textureEntry.Length); 1330 m_shape.TextureEntry = textureEntry;
1331 ScheduleFullUpdate(); 1331 ScheduleFullUpdate();
1332 } 1332 }
1333 1333