diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index ef2934d..f5d3618 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -1933,7 +1933,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
1933 | m_shape.SculptData = texture.Data; | 1933 | m_shape.SculptData = texture.Data; |
1934 | if (PhysActor != null) | 1934 | if (PhysActor != null) |
1935 | { | 1935 | { |
1936 | PhysActor.Shape = m_shape; | 1936 | // Tricks physics engine into thinking we've changed the part shape. |
1937 | PrimitiveBaseShape m_newshape = m_shape.Copy(); | ||
1938 | PhysActor.Shape = m_newshape; | ||
1939 | m_shape = m_newshape; | ||
1937 | } | 1940 | } |
1938 | } | 1941 | } |
1939 | } | 1942 | } |