Skip to content
Permalink
Browse files

Merge pull request #33739 from vcloarec/master

fix QgsColorRampShader assignment operator
  • Loading branch information
m-kuhn committed Jan 12, 2020
2 parents 4b39891 + 32f305e commit 40b102fccee8a5fdcd067af1818317a47b1b586f
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/raster/qgscolorrampshader.cpp
@@ -58,6 +58,7 @@ QgsColorRampShader::QgsColorRampShader( const QgsColorRampShader &other )

QgsColorRampShader &QgsColorRampShader::operator=( const QgsColorRampShader &other )
{
QgsRasterShaderFunction::operator=( other );
if ( other.sourceColorRamp() )
mSourceColorRamp.reset( other.sourceColorRamp()->clone() );
else

0 comments on commit 40b102f

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