* 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
This commit is contained in:
lbsa71
2007-12-28 13:11:49 +00:00
parent 6a02900c8a
commit 5b720b4b39
2 changed files with 10 additions and 4 deletions

View File

@@ -1327,7 +1327,7 @@ namespace OpenSim.Region.Environment.Scenes
/// <param name="textureEntry"></param>
public void UpdateTextureEntry(byte[] textureEntry)
{
m_shape.Textures = new LLObject.TextureEntry(textureEntry, 0, textureEntry.Length);
m_shape.TextureEntry = textureEntry;
ScheduleFullUpdate();
}