* phantom sculpties don't request the sculpt texture anymore.

This commit is contained in:
Teravus Ovares
2008-05-25 04:15:32 +00:00
parent c29409dc24
commit 29092d3999
2 changed files with 39 additions and 3 deletions

View File

@@ -2522,11 +2522,17 @@ namespace OpenSim.Region.Environment.Scenes
{
lock (m_parts)
{
foreach (SceneObjectPart part in m_parts.Values)
if (RootPart != null)
{
if (part.Shape.SculptEntry && part.Shape.SculptTexture != LLUUID.Zero)
if ((RootPart.GetEffectiveObjectFlags() & (uint)LLObject.ObjectFlags.Phantom) == 0)
{
m_scene.AssetCache.GetAsset(part.Shape.SculptTexture, part.SculptTextureCallback, true);
foreach (SceneObjectPart part in m_parts.Values)
{
if (part.Shape.SculptEntry && part.Shape.SculptTexture != LLUUID.Zero)
{
m_scene.AssetCache.GetAsset(part.Shape.SculptTexture, part.SculptTextureCallback, true);
}
}
}
}
}