diff options
Diffstat (limited to 'OpenSim/Region')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs b/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs index d3ba273..7b808eb 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs | |||
@@ -724,8 +724,7 @@ public class BSShapeCollection : IDisposable | |||
724 | if (yprim.BaseShape.SculptTexture.ToString() != asset.ID) | 724 | if (yprim.BaseShape.SculptTexture.ToString() != asset.ID) |
725 | return; | 725 | return; |
726 | 726 | ||
727 | yprim.BaseShape.SculptData = new byte[asset.Data.Length]; | 727 | yprim.BaseShape.SculptData = asset.Data; |
728 | asset.Data.CopyTo(yprim.BaseShape.SculptData, 0); | ||
729 | // This will cause the prim to see that the filler shape is not the right | 728 | // This will cause the prim to see that the filler shape is not the right |
730 | // one and try again to build the object. | 729 | // one and try again to build the object. |
731 | yprim.ForceBodyShapeRebuild(false); | 730 | yprim.ForceBodyShapeRebuild(false); |