From b7baa3cd2aa60324f52118e565465475c669ec80 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Fri, 9 May 2008 07:50:00 +0000 Subject: * Valid Sculpted prim now collide properly. * The first time you set the sculpted texture of a prim you might have to futz with it to get it to generate a sculpted physics proxy * Note that there are already issues in Trunk, (such as the prim scaling issue and prim jumping issue. Essentially editing is difficult right now) * This just adds to the experimental nature of trunk. :D --- OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs') 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 } return retmass; } + public void CheckSculptAndLoad() + { + lock (m_parts) + { + 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); + } + } + } + } } } -- cgit v1.1