diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 033a419..aae6af8 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -2546,5 +2546,18 @@ namespace OpenSim.Region.Environment.Scenes | |||
2546 | } | 2546 | } |
2547 | return retmass; | 2547 | return retmass; |
2548 | } | 2548 | } |
2549 | public void CheckSculptAndLoad() | ||
2550 | { | ||
2551 | lock (m_parts) | ||
2552 | { | ||
2553 | foreach (SceneObjectPart part in m_parts.Values) | ||
2554 | { | ||
2555 | if (part.Shape.SculptEntry && part.Shape.SculptTexture != LLUUID.Zero) | ||
2556 | { | ||
2557 | m_scene.AssetCache.GetAsset(part.Shape.SculptTexture, part.SculptTextureCallback, true); | ||
2558 | } | ||
2559 | } | ||
2560 | } | ||
2561 | } | ||
2549 | } | 2562 | } |
2550 | } | 2563 | } |