Re-organized the access of the mutex in Terrain to avoid deadlocks, and temporarily switched off the update of the neightbouring tile boundaries within the GeometryTechnique::generateGeometry method, again to avoid deadlocks.

This commit is contained in:
Robert Osfield
2010-06-16 12:46:16 +00:00
parent d3527f3830
commit 80389a4a13
2 changed files with 11 additions and 5 deletions

View File

@@ -903,7 +903,7 @@ void GeometryTechnique::generateGeometry(BufferData& buffer, Locator* masterLoca
_neighbours.clear();
bool updateNeighboursImmediately = true;
bool updateNeighboursImmediately = false;
if (left_tile.valid()) addNeighbour(left_tile.get());
if (right_tile.valid()) addNeighbour(right_tile.get());