diff options
author | Melanie | 2013-02-16 05:09:27 +0100 |
---|---|---|
committer | Melanie | 2013-02-16 05:09:27 +0100 |
commit | 4be35df5fa1f1ba364ac45ae8b2585319dfbdbae (patch) | |
tree | b050c1b1cf9160addad30b84b4c3fc7e66dd5cd6 /OpenSim/Region/ClientStack/Linden/UDP | |
parent | Add an event and some logic to allow customizing Simulator Features by avatar (diff) | |
download | opensim-SC-4be35df5fa1f1ba364ac45ae8b2585319dfbdbae.zip opensim-SC-4be35df5fa1f1ba364ac45ae8b2585319dfbdbae.tar.gz opensim-SC-4be35df5fa1f1ba364ac45ae8b2585319dfbdbae.tar.bz2 opensim-SC-4be35df5fa1f1ba364ac45ae8b2585319dfbdbae.tar.xz |
Fix shape parameters sent for meshes tosupport the full number of faces
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-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 ca15e3e..0267805 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -3893,6 +3893,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3893 | part.Shape.LightEntry = false; | 3893 | part.Shape.LightEntry = false; |
3894 | } | 3894 | } |
3895 | } | 3895 | } |
3896 | |||
3897 | if (part.Shape != null && (part.Shape.SculptType == (byte)SculptType.Mesh)) | ||
3898 | { | ||
3899 | // Ensure that mesh has at least 8 valid faces | ||
3900 | part.Shape.ProfileBegin = 12500; | ||
3901 | part.Shape.ProfileEnd = 0; | ||
3902 | part.Shape.ProfileHollow = 27500; | ||
3903 | } | ||
3896 | } | 3904 | } |
3897 | 3905 | ||
3898 | ++updatesThisCall; | 3906 | ++updatesThisCall; |