Skip to content

Commit

Permalink
Don't force rasterized exports for point cloud layers using the exten…
Browse files Browse the repository at this point in the history
…t renderer
  • Loading branch information
nyalldawson committed Dec 15, 2020
1 parent 0b28107 commit 222c3c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/pointcloud/qgspointcloudlayerrenderer.cpp
Expand Up @@ -167,9 +167,9 @@ bool QgsPointCloudLayerRenderer::render()

bool QgsPointCloudLayerRenderer::forceRasterRender() const
{
// point cloud layers should always be rasterized -- we don't want to export points as vectors
// unless we are using the extent only renderer, point cloud layers should always be rasterized -- we don't want to export points as vectors
// to formats like PDF!
return true;
return mRenderer ? mRenderer->type() != QLatin1String( "extent" ) : false;
}

QList<IndexedPointCloudNode> QgsPointCloudLayerRenderer::traverseTree( const QgsPointCloudIndex *pc,
Expand Down

0 comments on commit 222c3c5

Please sign in to comment.