Mantis#1620. Applied Melanie's patch

0.6.0-stable
Charles Krinke 2008-06-28 16:13:11 +00:00
parent 9a0ef22ed9
commit c06dbf4fe5
1 changed files with 33 additions and 32 deletions

View File

@ -2038,37 +2038,38 @@ namespace OpenSim.Region.Physics.Meshing
return mesh; return mesh;
} }
private static void reportPrimParams(string name, PrimitiveBaseShape primShape) // Commented to kill a warning
{ // private static void reportPrimParams(string name, PrimitiveBaseShape primShape)
; // {
#if SPAM // ;
float pathShearX = primShape.PathShearX < 128 ? (float)primShape.PathShearX * 0.01f : (float)(primShape.PathShearX - 256) * 0.01f; //#if SPAM
float pathShearY = primShape.PathShearY < 128 ? (float)primShape.PathShearY * 0.01f : (float)(primShape.PathShearY - 256) * 0.01f; // float pathShearX = primShape.PathShearX < 128 ? (float)primShape.PathShearX * 0.01f : (float)(primShape.PathShearX - 256) * 0.01f;
// float pathShearY = primShape.PathShearY < 128 ? (float)primShape.PathShearY * 0.01f : (float)(primShape.PathShearY - 256) * 0.01f;
Console.WriteLine("********************* PrimitiveBaseShape Parameters *******************\n" //
+ "Name.............: " + name.ToString() + "\n" // Console.WriteLine("********************* PrimitiveBaseShape Parameters *******************\n"
+ "HollowShape......: " + primShape.HollowShape.ToString() + "\n" // + "Name.............: " + name.ToString() + "\n"
+ "PathBegin........: " + primShape.PathBegin.ToString() + "\n" // + "HollowShape......: " + primShape.HollowShape.ToString() + "\n"
+ "PathCurve........: " + primShape.PathCurve.ToString() + "\n" // + "PathBegin........: " + primShape.PathBegin.ToString() + "\n"
+ "PathEnd..........: " + primShape.PathEnd.ToString() + "\n" // + "PathCurve........: " + primShape.PathCurve.ToString() + "\n"
+ "PathRadiusOffset.: " + primShape.PathRadiusOffset.ToString() + "\n" // + "PathEnd..........: " + primShape.PathEnd.ToString() + "\n"
+ "PathRevolutions..: " + primShape.PathRevolutions.ToString() + "\n" // + "PathRadiusOffset.: " + primShape.PathRadiusOffset.ToString() + "\n"
+ "PathScaleX.......: " + primShape.PathScaleX.ToString() + "\n" // + "PathRevolutions..: " + primShape.PathRevolutions.ToString() + "\n"
+ "PathScaleY.......: " + primShape.PathScaleY.ToString() + "\n" // + "PathScaleX.......: " + primShape.PathScaleX.ToString() + "\n"
+ "PathShearX.......: " + primShape.PathShearX.ToString() + " (" + pathShearX.ToString() + ")\n" // + "PathScaleY.......: " + primShape.PathScaleY.ToString() + "\n"
+ "PathShearY.......: " + primShape.PathShearY.ToString() + " (" + pathShearY.ToString() + ")\n" // + "PathShearX.......: " + primShape.PathShearX.ToString() + " (" + pathShearX.ToString() + ")\n"
+ "PathSkew.........: " + primShape.PathSkew.ToString() + "\n" // + "PathShearY.......: " + primShape.PathShearY.ToString() + " (" + pathShearY.ToString() + ")\n"
+ "PathTaperX.......: " + primShape.PathTaperX.ToString() + "\n" // + "PathSkew.........: " + primShape.PathSkew.ToString() + "\n"
+ "PathTaperY.......: " + primShape.PathTaperY.ToString() + "\n" // + "PathTaperX.......: " + primShape.PathTaperX.ToString() + "\n"
+ "PathTwist........: " + primShape.PathTwist.ToString() + "\n" // + "PathTaperY.......: " + primShape.PathTaperY.ToString() + "\n"
+ "PathTwistBegin...: " + primShape.PathTwistBegin.ToString() + "\n" // + "PathTwist........: " + primShape.PathTwist.ToString() + "\n"
+ "ProfileBegin.....: " + primShape.ProfileBegin.ToString() + "\n" // + "PathTwistBegin...: " + primShape.PathTwistBegin.ToString() + "\n"
+ "ProfileCurve.....: " + primShape.ProfileCurve.ToString() + "\n" // + "ProfileBegin.....: " + primShape.ProfileBegin.ToString() + "\n"
+ "ProfileEnd.......: " + primShape.ProfileEnd.ToString() + "\n" // + "ProfileCurve.....: " + primShape.ProfileCurve.ToString() + "\n"
+ "ProfileHollow....: " + primShape.ProfileHollow.ToString() + "\n" // + "ProfileEnd.......: " + primShape.ProfileEnd.ToString() + "\n"
+ "ProfileShape.....: " + primShape.ProfileShape.ToString() + "\n" // + "ProfileHollow....: " + primShape.ProfileHollow.ToString() + "\n"
); // + "ProfileShape.....: " + primShape.ProfileShape.ToString() + "\n"
#endif // );
} //#endif
// }
} }
} }