Skip to content
Permalink
Browse files

Fix more warnings

  • Loading branch information
nyalldawson committed Oct 26, 2020
1 parent cf368ba commit b71de9cf27c894c877b7babbe9e1310079392fe7
@@ -987,6 +987,7 @@ void Qgs3DMapScene::exportScene( const Qgs3DMapExportSettings &exportSettings )
case QgsMapLayerType::MeshLayer:
case QgsMapLayerType::VectorTileLayer:
case QgsMapLayerType::AnnotationLayer:
case QgsMapLayerType::PointCloudLayer:
notParsedLayers.push_back( layer->name() );
break;
}
@@ -75,6 +75,8 @@ Qt3DCore::QEntity *QgsPointCloudLayer3DRenderer::createEntity( const Qgs3DMapSet

void QgsPointCloudLayer3DRenderer::writeXml( QDomElement &elem, const QgsReadWriteContext &context ) const
{
Q_UNUSED( context )

QDomDocument doc = elem.ownerDocument();

elem.setAttribute( QStringLiteral( "layer" ), mLayerRef.layerId );
@@ -91,6 +93,8 @@ void QgsPointCloudLayer3DRenderer::writeXml( QDomElement &elem, const QgsReadWri

void QgsPointCloudLayer3DRenderer::readXml( const QDomElement &elem, const QgsReadWriteContext &context )
{
Q_UNUSED( context )

mLayerRef = QgsMapLayerRef( elem.attribute( QStringLiteral( "layer" ) ) );

/*
@@ -94,6 +94,7 @@ QgsPointCloud3DSymbolHandler::QgsPointCloud3DSymbolHandler()

bool QgsPointCloud3DSymbolHandler::prepare( const Qgs3DRenderContext &context )
{
Q_UNUSED( context )
return true;
}

@@ -146,6 +147,9 @@ void QgsPointCloud3DSymbolHandler::finalize( Qt3DCore::QEntity *parent, const Qg
#include <QPointSize>
void QgsPointCloud3DSymbolHandler::makeEntity( Qt3DCore::QEntity *parent, const Qgs3DRenderContext &context, QgsPointCloud3DSymbolHandler::PointData &out, bool selected )
{
Q_UNUSED( selected )
Q_UNUSED( context )

if ( out.positions.empty() )
return;

0 comments on commit b71de9c

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