Cap proxy mesh scale minimum to 0.01 meter for X, Y, and Z terms.

0.6.0-stable
Dahlia Trimble 2008-10-04 17:39:03 +00:00
parent 68c0393c51
commit 979a354ba0
1 changed files with 4 additions and 0 deletions

View File

@ -2022,6 +2022,10 @@ namespace OpenSim.Region.Physics.Meshing
{
Mesh mesh = null;
if (size.X < 0.01f) size.X = 0.01f;
if (size.Y < 0.01f) size.Y = 0.01f;
if (size.Z < 0.01f) size.Z = 0.01f;
#if SPAM
reportPrimParams(primName, primShape);
#endif