diff --git a/src/3d/terrain/qgsonlineterraingenerator.cpp b/src/3d/terrain/qgsonlineterraingenerator.cpp index 09e19d8b612b..246b7c6ac0a0 100644 --- a/src/3d/terrain/qgsonlineterraingenerator.cpp +++ b/src/3d/terrain/qgsonlineterraingenerator.cpp @@ -1,3 +1,18 @@ +/*************************************************************************** + qgsonlineterraingenerator.cpp + -------------------------------------- + Date : March 2019 + Copyright : (C) 2019 by Martin Dobias + Email : wonder dot sk at gmail dot com + *************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + #include "qgsonlineterraingenerator.h" #include "qgsdemterraintileloader_p.h" diff --git a/src/3d/terrain/qgsterraindownloader.cpp b/src/3d/terrain/qgsterraindownloader.cpp index 06f76867d513..34cfee70fa96 100644 --- a/src/3d/terrain/qgsterraindownloader.cpp +++ b/src/3d/terrain/qgsterraindownloader.cpp @@ -73,7 +73,7 @@ double QgsTerrainDownloader::findBestTileResolution( double requestedMupp ) void QgsTerrainDownloader::tileImageToHeightMap( const QImage &img, QByteArray &heightMap ) { - // assuming ARGB preformatted but with alpha 255 + // assuming ARGB premultiplied but with alpha 255 const QRgb *rgb = reinterpret_cast( img.constBits() ); int count = img.width() * img.height(); heightMap.resize( sizeof( float ) * count );