diff options
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index a2d6656..4e43a1b 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs | |||
@@ -2022,6 +2022,10 @@ namespace OpenSim.Region.Physics.Meshing | |||
2022 | { | 2022 | { |
2023 | Mesh mesh = null; | 2023 | Mesh mesh = null; |
2024 | 2024 | ||
2025 | if (size.X < 0.01f) size.X = 0.01f; | ||
2026 | if (size.Y < 0.01f) size.Y = 0.01f; | ||
2027 | if (size.Z < 0.01f) size.Z = 0.01f; | ||
2028 | |||
2025 | #if SPAM | 2029 | #if SPAM |
2026 | reportPrimParams(primName, primShape); | 2030 | reportPrimParams(primName, primShape); |
2027 | #endif | 2031 | #endif |