mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
Cap proxy mesh scale minimum to 0.01 meter for X, Y, and Z terms.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user