From 68631ec3f064d0627d5834b5715bd451b47a2682 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 5 Apr 2004 15:46:19 +0000 Subject: [PATCH] Commented out scale setting when source DEM is in lat+longs. --- src/osgTerrain/DataSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgTerrain/DataSet.cpp b/src/osgTerrain/DataSet.cpp index 79d88810e..1b8e72ef0 100644 --- a/src/osgTerrain/DataSet.cpp +++ b/src/osgTerrain/DataSet.cpp @@ -626,7 +626,7 @@ void DataSet::SourceData::readHeightField(DestinationData& destination) else { std::cout<<"We have no Scale"<getConvertFromGeographicToGeocentric()*/) ? 1.0f/111319.0f : 1.0f; + //scale = (xyInDegrees /*&& !destination._dataSet->getConvertFromGeographicToGeocentric()*/) ? 1.0f/111319.0f : 1.0f; } std::cout<<"********* getLinearUnits = "<