Skip to content
Browse files

Always rasterise point cloud layers when exporting maps

There's no situation in which we'd realistically want to export
point cloud points as vector objects in a PDF -- that would result
in a massive, unusable PDF/SVG!
  • Loading branch information
nyalldawson committed Nov 16, 2020
1 parent 0d3ccf7 commit 168c0241a168f2a69796dc9c52d99569eeee7367
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/core/qgsmaprendererjob.cpp
@@ -955,8 +955,12 @@ bool QgsMapRendererJob::needTemporaryImage( QgsMapLayer *ml )

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

case QgsMapLayerType::MeshLayer:
case QgsMapLayerType::VectorTileLayer:
case QgsMapLayerType::PluginLayer:
case QgsMapLayerType::AnnotationLayer:

0 comments on commit 168c024

Please sign in to comment.
You can’t perform that action at this time.