diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Extruder.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Extruder.cs b/OpenSim/Region/Physics/Meshing/Extruder.cs index 480ffda..154a423 100644 --- a/OpenSim/Region/Physics/Meshing/Extruder.cs +++ b/OpenSim/Region/Physics/Meshing/Extruder.cs | |||
@@ -92,7 +92,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
92 | 92 | ||
93 | //Push the top of the object over by the Top Shear amount | 93 | //Push the top of the object over by the Top Shear amount |
94 | v.X += pushX * size.X; | 94 | v.X += pushX * size.X; |
95 | v.Y += pushY * size.X; | 95 | v.Y += pushY * size.Y; |
96 | 96 | ||
97 | if (twistTop != 0) | 97 | if (twistTop != 0) |
98 | { | 98 | { |
@@ -118,7 +118,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
118 | v.Y *= (size.Y * ((taperTopFactorY + taperBotFactorY) / 2)); | 118 | v.Y *= (size.Y * ((taperTopFactorY + taperBotFactorY) / 2)); |
119 | 119 | ||
120 | v.X += (pushX / 2) * size.X; | 120 | v.X += (pushX / 2) * size.X; |
121 | v.Y += (pushY / 2) * size.X; | 121 | v.Y += (pushY / 2) * size.Y; |
122 | //Push the top of the object over by the Top Shear amount | 122 | //Push the top of the object over by the Top Shear amount |
123 | if (twistMid != 0) | 123 | if (twistMid != 0) |
124 | { | 124 | { |