diff options
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index bd4a2d1..a187190 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -3802,6 +3802,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3802 | part.Shape.LightEntry = false; | 3802 | part.Shape.LightEntry = false; |
3803 | } | 3803 | } |
3804 | } | 3804 | } |
3805 | |||
3806 | if (part.Shape != null && (part.Shape.SculptType == (byte)SculptType.Mesh)) | ||
3807 | { | ||
3808 | // Ensure that mesh has at least 8 valid faces | ||
3809 | part.Shape.ProfileBegin = 12500; | ||
3810 | part.Shape.ProfileEnd = 0; | ||
3811 | part.Shape.ProfileHollow = 27500; | ||
3812 | } | ||
3805 | } | 3813 | } |
3806 | 3814 | ||
3807 | #region UpdateFlags to packet type conversion | 3815 | #region UpdateFlags to packet type conversion |