aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
diff options
context:
space:
mode:
authorCharles Krinke2008-06-28 16:13:11 +0000
committerCharles Krinke2008-06-28 16:13:11 +0000
commitc06dbf4fe5722fe9db4a5ea3cc353fc2209a4f15 (patch)
treeec2c44ffbf10557c16ebd923351c20e247083a95 /OpenSim/Region/Physics/Meshing/Meshmerizer.cs
parentMantis#1616. Applied Melanie's patch. This may or may (diff)
downloadopensim-SC_OLD-c06dbf4fe5722fe9db4a5ea3cc353fc2209a4f15.zip
opensim-SC_OLD-c06dbf4fe5722fe9db4a5ea3cc353fc2209a4f15.tar.gz
opensim-SC_OLD-c06dbf4fe5722fe9db4a5ea3cc353fc2209a4f15.tar.bz2
opensim-SC_OLD-c06dbf4fe5722fe9db4a5ea3cc353fc2209a4f15.tar.xz
Mantis#1620. Applied Melanie's patch
Diffstat (limited to 'OpenSim/Region/Physics/Meshing/Meshmerizer.cs')
-rw-r--r--OpenSim/Region/Physics/Meshing/Meshmerizer.cs65
1 files changed, 33 insertions, 32 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
index f83298d..3666735 100644
--- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
+++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
@@ -2038,37 +2038,38 @@ namespace OpenSim.Region.Physics.Meshing
2038 return mesh; 2038 return mesh;
2039 } 2039 }
2040 2040
2041 private static void reportPrimParams(string name, PrimitiveBaseShape primShape) 2041// Commented to kill a warning
2042 { 2042// private static void reportPrimParams(string name, PrimitiveBaseShape primShape)
2043 ; 2043// {
2044#if SPAM 2044// ;
2045 float pathShearX = primShape.PathShearX < 128 ? (float)primShape.PathShearX * 0.01f : (float)(primShape.PathShearX - 256) * 0.01f; 2045//#if SPAM
2046 float pathShearY = primShape.PathShearY < 128 ? (float)primShape.PathShearY * 0.01f : (float)(primShape.PathShearY - 256) * 0.01f; 2046// float pathShearX = primShape.PathShearX < 128 ? (float)primShape.PathShearX * 0.01f : (float)(primShape.PathShearX - 256) * 0.01f;
2047 2047// float pathShearY = primShape.PathShearY < 128 ? (float)primShape.PathShearY * 0.01f : (float)(primShape.PathShearY - 256) * 0.01f;
2048 Console.WriteLine("********************* PrimitiveBaseShape Parameters *******************\n" 2048//
2049 + "Name.............: " + name.ToString() + "\n" 2049// Console.WriteLine("********************* PrimitiveBaseShape Parameters *******************\n"
2050 + "HollowShape......: " + primShape.HollowShape.ToString() + "\n" 2050// + "Name.............: " + name.ToString() + "\n"
2051 + "PathBegin........: " + primShape.PathBegin.ToString() + "\n" 2051// + "HollowShape......: " + primShape.HollowShape.ToString() + "\n"
2052 + "PathCurve........: " + primShape.PathCurve.ToString() + "\n" 2052// + "PathBegin........: " + primShape.PathBegin.ToString() + "\n"
2053 + "PathEnd..........: " + primShape.PathEnd.ToString() + "\n" 2053// + "PathCurve........: " + primShape.PathCurve.ToString() + "\n"
2054 + "PathRadiusOffset.: " + primShape.PathRadiusOffset.ToString() + "\n" 2054// + "PathEnd..........: " + primShape.PathEnd.ToString() + "\n"
2055 + "PathRevolutions..: " + primShape.PathRevolutions.ToString() + "\n" 2055// + "PathRadiusOffset.: " + primShape.PathRadiusOffset.ToString() + "\n"
2056 + "PathScaleX.......: " + primShape.PathScaleX.ToString() + "\n" 2056// + "PathRevolutions..: " + primShape.PathRevolutions.ToString() + "\n"
2057 + "PathScaleY.......: " + primShape.PathScaleY.ToString() + "\n" 2057// + "PathScaleX.......: " + primShape.PathScaleX.ToString() + "\n"
2058 + "PathShearX.......: " + primShape.PathShearX.ToString() + " (" + pathShearX.ToString() + ")\n" 2058// + "PathScaleY.......: " + primShape.PathScaleY.ToString() + "\n"
2059 + "PathShearY.......: " + primShape.PathShearY.ToString() + " (" + pathShearY.ToString() + ")\n" 2059// + "PathShearX.......: " + primShape.PathShearX.ToString() + " (" + pathShearX.ToString() + ")\n"
2060 + "PathSkew.........: " + primShape.PathSkew.ToString() + "\n" 2060// + "PathShearY.......: " + primShape.PathShearY.ToString() + " (" + pathShearY.ToString() + ")\n"
2061 + "PathTaperX.......: " + primShape.PathTaperX.ToString() + "\n" 2061// + "PathSkew.........: " + primShape.PathSkew.ToString() + "\n"
2062 + "PathTaperY.......: " + primShape.PathTaperY.ToString() + "\n" 2062// + "PathTaperX.......: " + primShape.PathTaperX.ToString() + "\n"
2063 + "PathTwist........: " + primShape.PathTwist.ToString() + "\n" 2063// + "PathTaperY.......: " + primShape.PathTaperY.ToString() + "\n"
2064 + "PathTwistBegin...: " + primShape.PathTwistBegin.ToString() + "\n" 2064// + "PathTwist........: " + primShape.PathTwist.ToString() + "\n"
2065 + "ProfileBegin.....: " + primShape.ProfileBegin.ToString() + "\n" 2065// + "PathTwistBegin...: " + primShape.PathTwistBegin.ToString() + "\n"
2066 + "ProfileCurve.....: " + primShape.ProfileCurve.ToString() + "\n" 2066// + "ProfileBegin.....: " + primShape.ProfileBegin.ToString() + "\n"
2067 + "ProfileEnd.......: " + primShape.ProfileEnd.ToString() + "\n" 2067// + "ProfileCurve.....: " + primShape.ProfileCurve.ToString() + "\n"
2068 + "ProfileHollow....: " + primShape.ProfileHollow.ToString() + "\n" 2068// + "ProfileEnd.......: " + primShape.ProfileEnd.ToString() + "\n"
2069 + "ProfileShape.....: " + primShape.ProfileShape.ToString() + "\n" 2069// + "ProfileHollow....: " + primShape.ProfileHollow.ToString() + "\n"
2070 ); 2070// + "ProfileShape.....: " + primShape.ProfileShape.ToString() + "\n"
2071#endif 2071// );
2072 } 2072//#endif
2073// }
2073 } 2074 }
2074} 2075}