diff options
author | UbitUmarov | 2012-03-21 01:24:30 +0000 |
---|---|---|
committer | UbitUmarov | 2012-03-21 01:24:30 +0000 |
commit | 2e41294da969cd124a013070aaf6ce5dd9f01a5c (patch) | |
tree | e7a37cb7c7f45b64058132723f565b94adfec948 /OpenSim/Region/Physics/UbitMeshing/Meshmerizer.cs | |
parent | Update prebuild (diff) | |
download | opensim-SC-2e41294da969cd124a013070aaf6ce5dd9f01a5c.zip opensim-SC-2e41294da969cd124a013070aaf6ce5dd9f01a5c.tar.gz opensim-SC-2e41294da969cd124a013070aaf6ce5dd9f01a5c.tar.bz2 opensim-SC-2e41294da969cd124a013070aaf6ce5dd9f01a5c.tar.xz |
add convex state to mesh key, so a change is detected.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/UbitMeshing/Meshmerizer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/UbitMeshing/Meshmerizer.cs b/OpenSim/Region/Physics/UbitMeshing/Meshmerizer.cs index 7667e91..df08381 100644 --- a/OpenSim/Region/Physics/UbitMeshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/UbitMeshing/Meshmerizer.cs | |||
@@ -995,7 +995,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
995 | 995 | ||
996 | // If this mesh has been created already, return it instead of creating another copy | 996 | // If this mesh has been created already, return it instead of creating another copy |
997 | // For large regions with 100k+ prims and hundreds of copies of each, this can save a GB or more of memory | 997 | // For large regions with 100k+ prims and hundreds of copies of each, this can save a GB or more of memory |
998 | key = primShape.GetMeshKey(size, lod); | 998 | key = primShape.GetMeshKey(size, lod, convex); |
999 | if (m_uniqueMeshes.TryGetValue(key, out mesh)) | 999 | if (m_uniqueMeshes.TryGetValue(key, out mesh)) |
1000 | return mesh; | 1000 | return mesh; |
1001 | 1001 | ||