aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2017-10-30 18:56:05 +0000
committerUbitUmarov2017-10-30 18:56:05 +0000
commit5360a8fea4249aa19df7d453af0642c6c3a9ac11 (patch)
tree9246b769ec861fa735e61efd99a20f879947573c
parentmantis 8258: change Mesh basic shape pathScaleY in case of Torus (diff)
downloadopensim-SC-5360a8fea4249aa19df7d453af0642c6c3a9ac11.zip
opensim-SC-5360a8fea4249aa19df7d453af0642c6c3a9ac11.tar.gz
opensim-SC-5360a8fea4249aa19df7d453af0642c6c3a9ac11.tar.bz2
opensim-SC-5360a8fea4249aa19df7d453af0642c6c3a9ac11.tar.xz
mantis 8258: also limit mesh basic shape torus hole sizeY on (some) existent objects.
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index a404b1b..4a76ffc 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -5887,6 +5887,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5887 profileBegin = 9375; 5887 profileBegin = 9375;
5888 if(profileHollow == 1) 5888 if(profileHollow == 1)
5889 profileHollow = 27500; 5889 profileHollow = 27500;
5890 // fix torus hole size Y that also confuse some viewers
5891 if(update.ProfileCurve == (byte)ProfileShape.Circle && update.PathScaleY < 150)
5892 update.PathScaleY = 150;
5890 } 5893 }
5891 else 5894 else
5892 { 5895 {