Skip to content

Commit

Permalink
Spelling, dox
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 16, 2020
1 parent 168c024 commit 4e13ad5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Expand Up @@ -127,6 +127,9 @@ Abstract base class for 2d point cloud renderers.
public:

QgsPointCloudRenderer();
%Docstring
Constructor for QgsPointCloudRenderer.
%End

virtual ~QgsPointCloudRenderer();

Expand Down
3 changes: 3 additions & 0 deletions src/core/pointcloud/qgspointcloudrenderer.h
Expand Up @@ -162,6 +162,9 @@ class CORE_EXPORT QgsPointCloudRenderer

public:

/**
* Constructor for QgsPointCloudRenderer.
*/
QgsPointCloudRenderer() = default;

virtual ~QgsPointCloudRenderer() = default;
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsmaprendererjob.cpp
Expand Up @@ -78,7 +78,7 @@ QHash<QgsMapLayer *, int> QgsMapRendererJob::perLayerRenderingTime() const
QHash<QgsMapLayer *, int> result;
for ( auto it = mPerLayerRenderingTime.constBegin(); it != mPerLayerRenderingTime.constEnd(); ++it )
{
if ( auto &&lKey = it.key() )
if ( auto && lKey = it.key() )
result.insert( lKey, it.value() );
}
return result;
Expand Down Expand Up @@ -956,7 +956,7 @@ bool QgsMapRendererJob::needTemporaryImage( QgsMapLayer *ml )
}

case QgsMapLayerType::PointCloudLayer:
// point cloud layers should always be rasterised -- we don't want to export points as vectors
// point cloud layers should always be rasterized -- we don't want to export points as vectors
// to formats like PDF!
return true;

Expand Down

0 comments on commit 4e13ad5

Please sign in to comment.