Skip to content

Commit

Permalink
Don't restrict smooth algorithm outputs for use as inputs to line
Browse files Browse the repository at this point in the history
parameters

Fixes #45503
  • Loading branch information
nyalldawson authored and github-actions[bot] committed Oct 14, 2021
1 parent 515747d commit 59de78a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/analysis/processing/qgsalgorithmsmooth.cpp
Expand Up @@ -49,11 +49,6 @@ QString QgsSmoothAlgorithm::outputName() const
return QObject::tr( "Smoothed" );
}

QgsProcessing::SourceType QgsSmoothAlgorithm::outputLayerType() const
{
return QgsProcessing::TypeVectorLine;
}

QString QgsSmoothAlgorithm::shortHelpString() const
{
return QObject::tr( "This algorithm smooths the geometries in a line or polygon layer. It creates a new layer with the "
Expand Down
1 change: 0 additions & 1 deletion src/analysis/processing/qgsalgorithmsmooth.h
Expand Up @@ -46,7 +46,6 @@ class QgsSmoothAlgorithm : public QgsProcessingFeatureBasedAlgorithm

protected:
QString outputName() const override;
QgsProcessing::SourceType outputLayerType() const override;
bool prepareAlgorithm( const QVariantMap &parameters, QgsProcessingContext &context, QgsProcessingFeedback *feedback ) override;
QgsFeatureList processFeature( const QgsFeature &feature, QgsProcessingContext &context, QgsProcessingFeedback *feedback ) override;
QgsProcessingFeatureSource::Flag sourceFlags() const override;
Expand Down

0 comments on commit 59de78a

Please sign in to comment.