gwaldron/osgearth — pull request #252 by aurelien35 (2012-10-15 09:32:04+00:00)
Title: Fixed a bug on neighbor tiles elevation reading with normalizeEdges option set to true

I didn't experienced this bug before, so maybe it's related to this commit : https://github.com/gwaldron/osgearth/commit/1d4fbdc43dbfbae48b48d5e5f104dec4bd5bbcc4

The problem is on these lines :

float heightValue = w_neighbor->getHeight( i, j );
float heightValue = e_neighbor->getHeight( i, j );
float heightValue = s_neighbor->getHeight( i, j );
float heightValue = n_neighbor->getHeight( i, j );

i and j index are not always valid on the neighbor heightfiled