diff --git a/src/core/pointcloud/qgspointcloudlayerrenderer.h b/src/core/pointcloud/qgspointcloudlayerrenderer.h index 731a34c4615d..f480f749e593 100644 --- a/src/core/pointcloud/qgspointcloudlayerrenderer.h +++ b/src/core/pointcloud/qgspointcloudlayerrenderer.h @@ -98,8 +98,8 @@ class CORE_EXPORT QgsPointCloudLayerRenderer: public QgsMapLayerRenderer const QVector< QgsPointCloudSubIndex > mSubIndexes; std::optional mOverviewIndex; - double mAverageSubIndexWidth; - double mAverageSubIndexHeight; + double mAverageSubIndexWidth = 0; + double mAverageSubIndexHeight = 0; int mRenderTimeHint = 0; bool mBlockRenderUpdates = false;