Skip to content

Commit

Permalink
Add missing copyright header
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Mar 18, 2019
1 parent c9ab24f commit 407952f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions 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"
Expand Down
2 changes: 1 addition & 1 deletion src/3d/terrain/qgsterraindownloader.cpp
Expand Up @@ -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<const QRgb *>( img.constBits() );
int count = img.width() * img.height();
heightMap.resize( sizeof( float ) * count );
Expand Down

0 comments on commit 407952f

Please sign in to comment.