diff options
author | Melanie | 2013-02-16 05:09:27 +0100 |
---|---|---|
committer | Melanie | 2013-02-16 05:44:41 +0000 |
commit | 3108d18ffb2fc4d2b10eac696842335b25aaf088 (patch) | |
tree | 4feb456f03c34e02aab305e98161dd10c8add95b /OpenSim/Region/ClientStack/Linden | |
parent | Separate IAR tests into separate files for load/save/loadpath tests (diff) | |
download | opensim-SC_OLD-3108d18ffb2fc4d2b10eac696842335b25aaf088.zip opensim-SC_OLD-3108d18ffb2fc4d2b10eac696842335b25aaf088.tar.gz opensim-SC_OLD-3108d18ffb2fc4d2b10eac696842335b25aaf088.tar.bz2 opensim-SC_OLD-3108d18ffb2fc4d2b10eac696842335b25aaf088.tar.xz |
Fix shape parameters sent for meshes tosupport the full number of faces
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-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 |