diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 0075a22..9502627 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -1568,6 +1568,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
1568 | byte[] extraP = new byte[Shape.ExtraParams.Length]; | 1568 | byte[] extraP = new byte[Shape.ExtraParams.Length]; |
1569 | Array.Copy(Shape.ExtraParams, extraP, extraP.Length); | 1569 | Array.Copy(Shape.ExtraParams, extraP, extraP.Length); |
1570 | dupe.Shape.ExtraParams = extraP; | 1570 | dupe.Shape.ExtraParams = extraP; |
1571 | if (dupe.m_shape.SculptEntry && dupe.m_shape.SculptTexture != LLUUID.Zero) | ||
1572 | { | ||
1573 | m_parentGroup.Scene.AssetCache.GetAsset(dupe.m_shape.SculptTexture, dupe.SculptTextureCallback, true); | ||
1574 | } | ||
1571 | bool UsePhysics = ((dupe.ObjectFlags & (uint) LLObject.ObjectFlags.Physics) != 0); | 1575 | bool UsePhysics = ((dupe.ObjectFlags & (uint) LLObject.ObjectFlags.Physics) != 0); |
1572 | dupe.DoPhysicsPropertyUpdate(UsePhysics, true); | 1576 | dupe.DoPhysicsPropertyUpdate(UsePhysics, true); |
1573 | 1577 | ||
@@ -1939,6 +1943,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
1939 | if (texture != null) | 1943 | if (texture != null) |
1940 | { | 1944 | { |
1941 | m_shape.SculptData = texture.Data; | 1945 | m_shape.SculptData = texture.Data; |
1946 | if (PhysActor != null) | ||
1947 | { | ||
1948 | PhysActor.Shape = m_shape; | ||
1949 | } | ||
1942 | } | 1950 | } |
1943 | } | 1951 | } |
1944 | 1952 | ||