aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2017-10-30 18:26:15 +0000
committerUbitUmarov2017-10-30 18:26:15 +0000
commit3fb61f4470593d9dbd4e1cc6b421f868816e588e (patch)
treefc67c94ce6982b8d3d78aeace5e95f5311f3e8a7 /OpenSim
parentFixed typo in a comment. (diff)
downloadopensim-SC_OLD-3fb61f4470593d9dbd4e1cc6b421f868816e588e.zip
opensim-SC_OLD-3fb61f4470593d9dbd4e1cc6b421f868816e588e.tar.gz
opensim-SC_OLD-3fb61f4470593d9dbd4e1cc6b421f868816e588e.tar.bz2
opensim-SC_OLD-3fb61f4470593d9dbd4e1cc6b421f868816e588e.tar.xz
mantis 8258: change Mesh basic shape pathScaleY in case of Torus
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/PrimitiveBaseShape.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs
index 6607d9f..5056c04 100644
--- a/OpenSim/Framework/PrimitiveBaseShape.cs
+++ b/OpenSim/Framework/PrimitiveBaseShape.cs
@@ -343,12 +343,14 @@ namespace OpenSim.Framework
343 case 1: // torus 343 case 1: // torus
344 shape.ProfileCurve = (byte)ProfileShape.Circle | (byte)HollowShape.Triangle; 344 shape.ProfileCurve = (byte)ProfileShape.Circle | (byte)HollowShape.Triangle;
345 shape.PathCurve = (byte)Extrusion.Curve1; 345 shape.PathCurve = (byte)Extrusion.Curve1;
346 shape._pathScaleY = 150;
346 break; 347 break;
347 348
348 case 2: // torus with hollow (a sl viewer whould see 4 faces on a hollow sphere) 349 case 2: // torus with hollow (a sl viewer whould see 4 faces on a hollow sphere)
349 shape.ProfileCurve = (byte)ProfileShape.Circle | (byte)HollowShape.Triangle; 350 shape.ProfileCurve = (byte)ProfileShape.Circle | (byte)HollowShape.Triangle;
350 shape.PathCurve = (byte)Extrusion.Curve1; 351 shape.PathCurve = (byte)Extrusion.Curve1;
351 shape.ProfileHollow = 27500; 352 shape.ProfileHollow = 27500;
353 shape._pathScaleY = 150;
352 break; 354 break;
353 355
354 case 3: // cylinder 356 case 3: // cylinder