OpenSceneGraph/include/osgTerrain
Robert Osfield a53308f7e8 Gunnar Holm, "After upgrading from 2.8.3 to 3.0.1 we experienced a lock in the Mutex
functionality when using Terrain::setVerticalScale. This was caused by
the following call sequence resulting in a lockup:

void Terrain::setVerticalScale(float scale)
  CALLS    dirtyRegisteredTiles();


void Terrain::dirtyRegisteredTiles(int dirtyMask)
 SETS LOCK    OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_mutex);
 and CALLS (on every tile)   setDirtyMask(dirtyMask);


void TerrainTile::setDirtyMask(int dirtyMask)
 CALLS _terrain->updateTerrainTileOnNextFrame(this);


void Terrain::updateTerrainTileOnNextFrame(TerrainTile* terrainTile)
 SETS LOCK   OpenThreads::ScopedLock<OpenThreads::Mutex> lock(_mutex);
******* PROBLEM - since lock has already been set! ********


The suggested fix submitted changes from using Mutex to ReentrantMutex.
"
2011-12-23 17:34:07 +00:00
..
Export From Piotr Gwiazdowski, "So there's config setting OSG_DISABLE_MSVC_WARNINGS which should 2011-03-09 14:15:04 +00:00
GeometryTechnique Change Terrain so that it subclassed from CoordinateSystemNode. 2010-04-03 16:21:34 +00:00
Layer From Ulrich Hertlein, "attached are patches to osgTerrain that fix some typos and add a bit of documentation. 2010-12-08 10:34:29 +00:00
Locator From Chris Hanson, typo and comment clean ups 2009-07-24 14:45:44 +00:00
Terrain Gunnar Holm, "After upgrading from 2.8.3 to 3.0.1 we experienced a lock in the Mutex 2011-12-23 17:34:07 +00:00
TerrainTechnique From Hartwig Wiesmann, "in the files Image, Observer and TerrainTechnique unused parameters exist resulting in a couple of compiler warnings (depending on the compiler settings though). 2010-11-25 12:07:59 +00:00
TerrainTile Added corner dirty options to TerrainTechnique, added experimental code paths in GeometryTechnique for accounting for neighbouring corner tiles - optionally compiled out in this check-in. 2010-04-09 08:52:40 +00:00
ValidDataOperator Fixed warnings 2009-01-07 10:32:59 +00:00
Version From David Callu, improved consistency of Version strings and add version support 2007-09-05 17:12:24 +00:00