add convex state to mesh key, so a change is detected.

This commit is contained in:
UbitUmarov
2012-03-21 01:24:30 +00:00
parent 4e4a3e8d22
commit 2e41294da9
2 changed files with 9 additions and 1 deletions

View File

@@ -995,7 +995,7 @@ namespace OpenSim.Region.Physics.Meshing
// If this mesh has been created already, return it instead of creating another copy
// For large regions with 100k+ prims and hundreds of copies of each, this can save a GB or more of memory
key = primShape.GetMeshKey(size, lod);
key = primShape.GetMeshKey(size, lod, convex);
if (m_uniqueMeshes.TryGetValue(key, out mesh))
return mesh;