* phantom sculpties don't request the sculpt texture anymore.
parent
c29409dc24
commit
29092d3999
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1786,6 +1786,16 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
if (!wasUsingPhysics)
|
||||
{
|
||||
DoPhysicsPropertyUpdate(usePhysics, false);
|
||||
if (m_parentGroup != null)
|
||||
{
|
||||
if (m_parentGroup.RootPart != null)
|
||||
{
|
||||
if (LocalId == m_parentGroup.RootPart.LocalId)
|
||||
{
|
||||
m_parentGroup.CheckSculptAndLoad();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -1826,12 +1836,32 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
{
|
||||
PhysActor.LocalID = LocalId;
|
||||
DoPhysicsPropertyUpdate(usePhysics, true);
|
||||
if (m_parentGroup != null)
|
||||
{
|
||||
if (m_parentGroup.RootPart != null)
|
||||
{
|
||||
if (LocalId == m_parentGroup.RootPart.LocalId)
|
||||
{
|
||||
m_parentGroup.CheckSculptAndLoad();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
PhysActor.IsPhysical = usePhysics;
|
||||
DoPhysicsPropertyUpdate(usePhysics, false);
|
||||
if (m_parentGroup != null)
|
||||
{
|
||||
if (m_parentGroup.RootPart != null)
|
||||
{
|
||||
if (LocalId == m_parentGroup.RootPart.LocalId)
|
||||
{
|
||||
m_parentGroup.CheckSculptAndLoad();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue