aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs21
1 files changed, 20 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 22753de..0075a22 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -1921,8 +1921,27 @@ namespace OpenSim.Region.Environment.Scenes
1921 public void UpdateExtraParam(ushort type, bool inUse, byte[] data) 1921 public void UpdateExtraParam(ushort type, bool inUse, byte[] data)
1922 { 1922 {
1923 m_shape.ReadInUpdateExtraParam(type, inUse, data); 1923 m_shape.ReadInUpdateExtraParam(type, inUse, data);
1924 1924 if (type == 0x30)
1925 {
1926 if (m_shape.SculptEntry && m_shape.SculptTexture != LLUUID.Zero)
1927 {
1928 //AssetBase tx = m_parentGroup.Scene.getase
1929 m_parentGroup.Scene.AssetCache.GetAsset(m_shape.SculptTexture, SculptTextureCallback, true);
1930 }
1931 }
1925 ScheduleFullUpdate(); 1932 ScheduleFullUpdate();
1933
1934 }
1935 public void SculptTextureCallback(LLUUID textureID, AssetBase texture)
1936 {
1937 if (m_shape.SculptEntry)
1938 {
1939 if (texture != null)
1940 {
1941 m_shape.SculptData = texture.Data;
1942 }
1943 }
1944
1926 } 1945 }
1927 1946
1928 #endregion 1947 #endregion