diff options
author | Dr Scofield | 2008-09-02 12:07:23 +0000 |
---|---|---|
committer | Dr Scofield | 2008-09-02 12:07:23 +0000 |
commit | 109aa00150aea01ba32620b4d965edd459827ff7 (patch) | |
tree | 07699c55770d6f3a3cb220e0320f1aab434f062d /OpenSim/Region/Physics/Meshing/PrimMesher.cs | |
parent | Fix regex for string->int cast to accept leading spaces and a sign (diff) | |
download | opensim-SC-109aa00150aea01ba32620b4d965edd459827ff7.zip opensim-SC-109aa00150aea01ba32620b4d965edd459827ff7.tar.gz opensim-SC-109aa00150aea01ba32620b4d965edd459827ff7.tar.bz2 opensim-SC-109aa00150aea01ba32620b4d965edd459827ff7.tar.xz |
fix: PostInitialise() not being called on script engines (nasty one that)
cleanup: warnings, readability
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/PrimMesher.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/Meshing/PrimMesher.cs b/OpenSim/Region/Physics/Meshing/PrimMesher.cs index f03aa7c..e15804e 100644 --- a/OpenSim/Region/Physics/Meshing/PrimMesher.cs +++ b/OpenSim/Region/Physics/Meshing/PrimMesher.cs | |||
@@ -196,7 +196,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
196 | 196 | ||
197 | float startAngle = profileStart * twoPi; | 197 | float startAngle = profileStart * twoPi; |
198 | float stopAngle = profileEnd * twoPi; | 198 | float stopAngle = profileEnd * twoPi; |
199 | float stepSize = twoPi / sides; | 199 | // float stepSize = twoPi / sides; |
200 | 200 | ||
201 | try { angles.makeAngles(sides, startAngle, stopAngle); } | 201 | try { angles.makeAngles(sides, startAngle, stopAngle); } |
202 | catch (Exception ex) | 202 | catch (Exception ex) |