mantis 8258: change Mesh basic shape pathScaleY in case of Torus

0.9.0.1-postfixes
UbitUmarov 2017-10-30 18:26:15 +00:00
parent 6a5b234262
commit 3fb61f4470
1 changed files with 2 additions and 0 deletions

View File

@ -343,12 +343,14 @@ namespace OpenSim.Framework
case 1: // torus case 1: // torus
shape.ProfileCurve = (byte)ProfileShape.Circle | (byte)HollowShape.Triangle; shape.ProfileCurve = (byte)ProfileShape.Circle | (byte)HollowShape.Triangle;
shape.PathCurve = (byte)Extrusion.Curve1; shape.PathCurve = (byte)Extrusion.Curve1;
shape._pathScaleY = 150;
break; break;
case 2: // torus with hollow (a sl viewer whould see 4 faces on a hollow sphere) case 2: // torus with hollow (a sl viewer whould see 4 faces on a hollow sphere)
shape.ProfileCurve = (byte)ProfileShape.Circle | (byte)HollowShape.Triangle; shape.ProfileCurve = (byte)ProfileShape.Circle | (byte)HollowShape.Triangle;
shape.PathCurve = (byte)Extrusion.Curve1; shape.PathCurve = (byte)Extrusion.Curve1;
shape.ProfileHollow = 27500; shape.ProfileHollow = 27500;
shape._pathScaleY = 150;
break; break;
case 3: // cylinder case 3: // cylinder