diff options
author | Dahlia Trimble | 2008-06-28 00:16:41 +0000 |
---|---|---|
committer | Dahlia Trimble | 2008-06-28 00:16:41 +0000 |
commit | 8b8b45267e9254970f9c69f8fe7c302e95c30bd9 (patch) | |
tree | ca8e2c5ad1896dc1074b48441006752baac87d01 /OpenSim | |
parent | tart the property wrapping in SOP. This will be a long process (diff) | |
download | opensim-SC_OLD-8b8b45267e9254970f9c69f8fe7c302e95c30bd9.zip opensim-SC_OLD-8b8b45267e9254970f9c69f8fe7c302e95c30bd9.tar.gz opensim-SC_OLD-8b8b45267e9254970f9c69f8fe7c302e95c30bd9.tar.bz2 opensim-SC_OLD-8b8b45267e9254970f9c69f8fe7c302e95c30bd9.tar.xz |
altered prior warning fix to Meshmerizer.cs to allow mesh debugging code to function
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 63 |
1 files changed, 32 insertions, 31 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index 879129a..f83298d 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs | |||
@@ -2038,36 +2038,37 @@ 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 | private static void reportPrimParams(string name, PrimitiveBaseShape primShape) |
2042 | // { | 2042 | { |
2043 | // #if SPAM | 2043 | ; |
2044 | // float pathShearX = primShape.PathShearX < 128 ? (float)primShape.PathShearX * 0.01f : (float)(primShape.PathShearX - 256) * 0.01f; | 2044 | #if SPAM |
2045 | // float pathShearY = primShape.PathShearY < 128 ? (float)primShape.PathShearY * 0.01f : (float)(primShape.PathShearY - 256) * 0.01f; | 2045 | float pathShearX = primShape.PathShearX < 128 ? (float)primShape.PathShearX * 0.01f : (float)(primShape.PathShearX - 256) * 0.01f; |
2046 | 2046 | float pathShearY = primShape.PathShearY < 128 ? (float)primShape.PathShearY * 0.01f : (float)(primShape.PathShearY - 256) * 0.01f; | |
2047 | // Console.WriteLine("********************* PrimitiveBaseShape Parameters *******************\n" | 2047 | |
2048 | // + "Name.............: " + name.ToString() + "\n" | 2048 | Console.WriteLine("********************* PrimitiveBaseShape Parameters *******************\n" |
2049 | // + "HollowShape......: " + primShape.HollowShape.ToString() + "\n" | 2049 | + "Name.............: " + name.ToString() + "\n" |
2050 | // + "PathBegin........: " + primShape.PathBegin.ToString() + "\n" | 2050 | + "HollowShape......: " + primShape.HollowShape.ToString() + "\n" |
2051 | // + "PathCurve........: " + primShape.PathCurve.ToString() + "\n" | 2051 | + "PathBegin........: " + primShape.PathBegin.ToString() + "\n" |
2052 | // + "PathEnd..........: " + primShape.PathEnd.ToString() + "\n" | 2052 | + "PathCurve........: " + primShape.PathCurve.ToString() + "\n" |
2053 | // + "PathRadiusOffset.: " + primShape.PathRadiusOffset.ToString() + "\n" | 2053 | + "PathEnd..........: " + primShape.PathEnd.ToString() + "\n" |
2054 | // + "PathRevolutions..: " + primShape.PathRevolutions.ToString() + "\n" | 2054 | + "PathRadiusOffset.: " + primShape.PathRadiusOffset.ToString() + "\n" |
2055 | // + "PathScaleX.......: " + primShape.PathScaleX.ToString() + "\n" | 2055 | + "PathRevolutions..: " + primShape.PathRevolutions.ToString() + "\n" |
2056 | // + "PathScaleY.......: " + primShape.PathScaleY.ToString() + "\n" | 2056 | + "PathScaleX.......: " + primShape.PathScaleX.ToString() + "\n" |
2057 | // + "PathShearX.......: " + primShape.PathShearX.ToString() + " (" + pathShearX.ToString() + ")\n" | 2057 | + "PathScaleY.......: " + primShape.PathScaleY.ToString() + "\n" |
2058 | // + "PathShearY.......: " + primShape.PathShearY.ToString() + " (" + pathShearY.ToString() + ")\n" | 2058 | + "PathShearX.......: " + primShape.PathShearX.ToString() + " (" + pathShearX.ToString() + ")\n" |
2059 | // + "PathSkew.........: " + primShape.PathSkew.ToString() + "\n" | 2059 | + "PathShearY.......: " + primShape.PathShearY.ToString() + " (" + pathShearY.ToString() + ")\n" |
2060 | // + "PathTaperX.......: " + primShape.PathTaperX.ToString() + "\n" | 2060 | + "PathSkew.........: " + primShape.PathSkew.ToString() + "\n" |
2061 | // + "PathTaperY.......: " + primShape.PathTaperY.ToString() + "\n" | 2061 | + "PathTaperX.......: " + primShape.PathTaperX.ToString() + "\n" |
2062 | // + "PathTwist........: " + primShape.PathTwist.ToString() + "\n" | 2062 | + "PathTaperY.......: " + primShape.PathTaperY.ToString() + "\n" |
2063 | // + "PathTwistBegin...: " + primShape.PathTwistBegin.ToString() + "\n" | 2063 | + "PathTwist........: " + primShape.PathTwist.ToString() + "\n" |
2064 | // + "ProfileBegin.....: " + primShape.ProfileBegin.ToString() + "\n" | 2064 | + "PathTwistBegin...: " + primShape.PathTwistBegin.ToString() + "\n" |
2065 | // + "ProfileCurve.....: " + primShape.ProfileCurve.ToString() + "\n" | 2065 | + "ProfileBegin.....: " + primShape.ProfileBegin.ToString() + "\n" |
2066 | // + "ProfileEnd.......: " + primShape.ProfileEnd.ToString() + "\n" | 2066 | + "ProfileCurve.....: " + primShape.ProfileCurve.ToString() + "\n" |
2067 | // + "ProfileHollow....: " + primShape.ProfileHollow.ToString() + "\n" | 2067 | + "ProfileEnd.......: " + primShape.ProfileEnd.ToString() + "\n" |
2068 | // + "ProfileShape.....: " + primShape.ProfileShape.ToString() + "\n" | 2068 | + "ProfileHollow....: " + primShape.ProfileHollow.ToString() + "\n" |
2069 | // ); | 2069 | + "ProfileShape.....: " + primShape.ProfileShape.ToString() + "\n" |
2070 | // #endif | 2070 | ); |
2071 | // } | 2071 | #endif |
2072 | } | ||
2072 | } | 2073 | } |
2073 | } | 2074 | } |