Skip to content

Commit

Permalink
ElevationLayer: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron committed Mar 10, 2015
1 parent c90f084 commit ff4e373
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/osgEarth/ElevationLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,6 @@ ElevationLayerVector::populateHeightField(osg::HeightField* hf,
if ( heightFailed[i] )
continue;

#if 1
// Only create a heightfield for a layer if it has data at the given location
// We do a non-exact hasDataAt call b/c we just want to trivially reject heightfields that
// obviously have no data.
Expand All @@ -669,7 +668,6 @@ ElevationLayerVector::populateHeightField(osg::HeightField* hf,
{
continue;
}
#endif

GeoHeightField& layerHF = heightFields[i];
if ( !layerHF.valid() )
Expand Down

0 comments on commit ff4e373

Please sign in to comment.