From af4d79f0b55dc63e80e10a17536db7284fb5fc5f Mon Sep 17 00:00:00 2001 From: Alexander Bruy Date: Thu, 4 Nov 2021 14:02:57 +0200 Subject: [PATCH] don't restrict create grid algorithm output for use as inputs to line and point parameters (fix #45867) --- src/analysis/processing/qgsalgorithmgrid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analysis/processing/qgsalgorithmgrid.cpp b/src/analysis/processing/qgsalgorithmgrid.cpp index 2990b8e23b2c..010f94b64f70 100644 --- a/src/analysis/processing/qgsalgorithmgrid.cpp +++ b/src/analysis/processing/qgsalgorithmgrid.cpp @@ -64,7 +64,7 @@ void QgsGridAlgorithm::initAlgorithm( const QVariantMap & ) addParameter( new QgsProcessingParameterCrs( QStringLiteral( "CRS" ), QObject::tr( "Grid CRS" ), QStringLiteral( "ProjectCrs" ) ) ); - addParameter( new QgsProcessingParameterFeatureSink( QStringLiteral( "OUTPUT" ), QObject::tr( "Grid" ), QgsProcessing::TypeVectorPolygon ) ); + addParameter( new QgsProcessingParameterFeatureSink( QStringLiteral( "OUTPUT" ), QObject::tr( "Grid" ), QgsProcessing::TypeVectorAnyGeometry ) ); } QString QgsGridAlgorithm::shortHelpString() const