mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	Fix using interpolated line symbol layer for polygon outlines
It was doing weird things, and silently reverting back to a blue simple fill
This commit is contained in:
		
							parent
							
								
									ec33213a5d
								
							
						
					
					
						commit
						9815333dd4
					
				@ -340,8 +340,6 @@ Creates the symbol layer
 | 
			
		||||
 | 
			
		||||
    virtual void renderPolyline( const QPolygonF &points, QgsSymbolRenderContext &context );
 | 
			
		||||
 | 
			
		||||
    virtual bool isCompatibleWithSymbol( QgsSymbol *symbol ) const;
 | 
			
		||||
 | 
			
		||||
    virtual bool canCauseArtifactsBetweenAdjacentTiles() const;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1215,11 +1215,6 @@ void QgsInterpolatedLineSymbolLayer::renderPolyline( const QPolygonF &points, Qg
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool QgsInterpolatedLineSymbolLayer::isCompatibleWithSymbol( QgsSymbol *symbol ) const
 | 
			
		||||
{
 | 
			
		||||
  return symbol && symbol->type() == Qgis::SymbolType::Line;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool QgsInterpolatedLineSymbolLayer::canCauseArtifactsBetweenAdjacentTiles() const
 | 
			
		||||
{
 | 
			
		||||
  return true;
 | 
			
		||||
 | 
			
		||||
@ -302,7 +302,6 @@ class CORE_EXPORT QgsInterpolatedLineSymbolLayer : public QgsLineSymbolLayer
 | 
			
		||||
    void startFeatureRender( const QgsFeature &feature, QgsRenderContext &context ) override;
 | 
			
		||||
    void stopFeatureRender( const QgsFeature &feature, QgsRenderContext &context ) override;
 | 
			
		||||
    void renderPolyline( const QPolygonF &points, QgsSymbolRenderContext &context ) override;
 | 
			
		||||
    bool isCompatibleWithSymbol( QgsSymbol *symbol ) const override;
 | 
			
		||||
    bool canCauseArtifactsBetweenAdjacentTiles() const override;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user