aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDahlia Trimble2008-06-28 18:04:04 +0000
committerDahlia Trimble2008-06-28 18:04:04 +0000
commit0260b33517aa85aaaf033e67f345a7d07c82057b (patch)
tree7cc8917c8a040ba6a27bec7c244fed7c18a504e3 /OpenSim
parentmore work on the support for multiple inventory servers. (diff)
downloadopensim-SC_OLD-0260b33517aa85aaaf033e67f345a7d07c82057b.zip
opensim-SC_OLD-0260b33517aa85aaaf033e67f345a7d07c82057b.tar.gz
opensim-SC_OLD-0260b33517aa85aaaf033e67f345a7d07c82057b.tar.bz2
opensim-SC_OLD-0260b33517aa85aaaf033e67f345a7d07c82057b.tar.xz
Altered prim description/debugging message code to be more warning friendly
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Physics/Meshing/Meshmerizer.cs66
1 files changed, 33 insertions, 33 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
index 3666735..161f4e1 100644
--- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
+++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
@@ -2038,38 +2038,38 @@ namespace OpenSim.Region.Physics.Meshing
2038 return mesh; 2038 return mesh;
2039 } 2039 }
2040 2040
2041// Commented to kill a warning 2041#if SPAM
2042// private static void reportPrimParams(string name, PrimitiveBaseShape primShape) 2042 // please dont comment this out until I'm done with this module - dahlia
2043// { 2043 private static void reportPrimParams(string name, PrimitiveBaseShape primShape)
2044// ; 2044 {
2045//#if SPAM 2045
2046// float pathShearX = primShape.PathShearX < 128 ? (float)primShape.PathShearX * 0.01f : (float)(primShape.PathShearX - 256) * 0.01f; 2046 float pathShearX = primShape.PathShearX < 128 ? (float)primShape.PathShearX * 0.01f : (float)(primShape.PathShearX - 256) * 0.01f;
2047// float pathShearY = primShape.PathShearY < 128 ? (float)primShape.PathShearY * 0.01f : (float)(primShape.PathShearY - 256) * 0.01f; 2047 float pathShearY = primShape.PathShearY < 128 ? (float)primShape.PathShearY * 0.01f : (float)(primShape.PathShearY - 256) * 0.01f;
2048// 2048
2049// Console.WriteLine("********************* PrimitiveBaseShape Parameters *******************\n" 2049 Console.WriteLine("********************* PrimitiveBaseShape Parameters *******************\n"
2050// + "Name.............: " + name.ToString() + "\n" 2050 + "Name.............: " + name.ToString() + "\n"
2051// + "HollowShape......: " + primShape.HollowShape.ToString() + "\n" 2051 + "HollowShape......: " + primShape.HollowShape.ToString() + "\n"
2052// + "PathBegin........: " + primShape.PathBegin.ToString() + "\n" 2052 + "PathBegin........: " + primShape.PathBegin.ToString() + "\n"
2053// + "PathCurve........: " + primShape.PathCurve.ToString() + "\n" 2053 + "PathCurve........: " + primShape.PathCurve.ToString() + "\n"
2054// + "PathEnd..........: " + primShape.PathEnd.ToString() + "\n" 2054 + "PathEnd..........: " + primShape.PathEnd.ToString() + "\n"
2055// + "PathRadiusOffset.: " + primShape.PathRadiusOffset.ToString() + "\n" 2055 + "PathRadiusOffset.: " + primShape.PathRadiusOffset.ToString() + "\n"
2056// + "PathRevolutions..: " + primShape.PathRevolutions.ToString() + "\n" 2056 + "PathRevolutions..: " + primShape.PathRevolutions.ToString() + "\n"
2057// + "PathScaleX.......: " + primShape.PathScaleX.ToString() + "\n" 2057 + "PathScaleX.......: " + primShape.PathScaleX.ToString() + "\n"
2058// + "PathScaleY.......: " + primShape.PathScaleY.ToString() + "\n" 2058 + "PathScaleY.......: " + primShape.PathScaleY.ToString() + "\n"
2059// + "PathShearX.......: " + primShape.PathShearX.ToString() + " (" + pathShearX.ToString() + ")\n" 2059 + "PathShearX.......: " + primShape.PathShearX.ToString() + " (" + pathShearX.ToString() + ")\n"
2060// + "PathShearY.......: " + primShape.PathShearY.ToString() + " (" + pathShearY.ToString() + ")\n" 2060 + "PathShearY.......: " + primShape.PathShearY.ToString() + " (" + pathShearY.ToString() + ")\n"
2061// + "PathSkew.........: " + primShape.PathSkew.ToString() + "\n" 2061 + "PathSkew.........: " + primShape.PathSkew.ToString() + "\n"
2062// + "PathTaperX.......: " + primShape.PathTaperX.ToString() + "\n" 2062 + "PathTaperX.......: " + primShape.PathTaperX.ToString() + "\n"
2063// + "PathTaperY.......: " + primShape.PathTaperY.ToString() + "\n" 2063 + "PathTaperY.......: " + primShape.PathTaperY.ToString() + "\n"
2064// + "PathTwist........: " + primShape.PathTwist.ToString() + "\n" 2064 + "PathTwist........: " + primShape.PathTwist.ToString() + "\n"
2065// + "PathTwistBegin...: " + primShape.PathTwistBegin.ToString() + "\n" 2065 + "PathTwistBegin...: " + primShape.PathTwistBegin.ToString() + "\n"
2066// + "ProfileBegin.....: " + primShape.ProfileBegin.ToString() + "\n" 2066 + "ProfileBegin.....: " + primShape.ProfileBegin.ToString() + "\n"
2067// + "ProfileCurve.....: " + primShape.ProfileCurve.ToString() + "\n" 2067 + "ProfileCurve.....: " + primShape.ProfileCurve.ToString() + "\n"
2068// + "ProfileEnd.......: " + primShape.ProfileEnd.ToString() + "\n" 2068 + "ProfileEnd.......: " + primShape.ProfileEnd.ToString() + "\n"
2069// + "ProfileHollow....: " + primShape.ProfileHollow.ToString() + "\n" 2069 + "ProfileHollow....: " + primShape.ProfileHollow.ToString() + "\n"
2070// + "ProfileShape.....: " + primShape.ProfileShape.ToString() + "\n" 2070 + "ProfileShape.....: " + primShape.ProfileShape.ToString() + "\n"
2071// ); 2071 );
2072//#endif 2072 }
2073// } 2073#endif
2074 } 2074 }
2075} 2075}