Commit 07bb2365 authored by Andreas Bircher's avatar Andreas Bircher

cleanup

parent 6467f653
......@@ -79,7 +79,6 @@ void QGCLoggingCategoryRegister::setFilterRulesFromSettings(const QString& comma
}
// Command line rules take precedence, so they go last in the list
_commandLineLoggingOptions += "TerrainLog,TerrainTileLog";
if (!_commandLineLoggingOptions.isEmpty()) {
QStringList logList = _commandLineLoggingOptions.split(",");
......
......@@ -161,7 +161,6 @@ float TerrainTile::elevation(const QGeoCoordinate& coordinate) const
// Get the index at resolution of 1 arc second
int indexLat = _latToDataIndex(coordinate.latitude());
int indexLon = _lonToDataIndex(coordinate.longitude());
qCDebug(TerrainTileLog) << "indexLat:indexLon" << indexLat << indexLon;
qCDebug(TerrainTileLog) << "indexLat:indexLon" << indexLat << indexLon << "elevation" << _data[indexLat][indexLon];
return _data[indexLat][indexLon];
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment