mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Make Meshmerizer mesh cache static so it can be shared across class instances
This commit is contained in:
@@ -84,7 +84,8 @@ namespace OpenSim.Region.Physics.Meshing
|
||||
private List<List<Vector3>> mConvexHulls = null;
|
||||
private List<Vector3> mBoundingHull = null;
|
||||
|
||||
private Dictionary<ulong, Mesh> m_uniqueMeshes = new Dictionary<ulong, Mesh>();
|
||||
// Mesh cache. Static so it can be shared across instances of this class
|
||||
private static Dictionary<ulong, Mesh> m_uniqueMeshes = new Dictionary<ulong, Mesh>();
|
||||
|
||||
public Meshmerizer(IConfigSource config)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user