Skip to content

Commit 407952f

Browse files
committed
Add missing copyright header
1 parent c9ab24f commit 407952f

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

src/3d/terrain/qgsonlineterraingenerator.cpp

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/***************************************************************************
2+
qgsonlineterraingenerator.cpp
3+
--------------------------------------
4+
Date : March 2019
5+
Copyright : (C) 2019 by Martin Dobias
6+
Email : wonder dot sk at gmail dot com
7+
***************************************************************************
8+
* *
9+
* This program is free software; you can redistribute it and/or modify *
10+
* it under the terms of the GNU General Public License as published by *
11+
* the Free Software Foundation; either version 2 of the License, or *
12+
* (at your option) any later version. *
13+
* *
14+
***************************************************************************/
15+
116
#include "qgsonlineterraingenerator.h"
217

318
#include "qgsdemterraintileloader_p.h"

src/3d/terrain/qgsterraindownloader.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ double QgsTerrainDownloader::findBestTileResolution( double requestedMupp )
7373

7474
void QgsTerrainDownloader::tileImageToHeightMap( const QImage &img, QByteArray &heightMap )
7575
{
76-
// assuming ARGB preformatted but with alpha 255
76+
// assuming ARGB premultiplied but with alpha 255
7777
const QRgb *rgb = reinterpret_cast<const QRgb *>( img.constBits() );
7878
int count = img.width() * img.height();
7979
heightMap.resize( sizeof( float ) * count );

0 commit comments

Comments
 (0)