aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie2013-02-16 05:09:27 +0100
committerMelanie2013-02-16 05:09:27 +0100
commit4be35df5fa1f1ba364ac45ae8b2585319dfbdbae (patch)
treeb050c1b1cf9160addad30b84b4c3fc7e66dd5cd6 /OpenSim/Region
parentAdd an event and some logic to allow customizing Simulator Features by avatar (diff)
downloadopensim-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 '')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs8
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;