mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Merge pull request #33739 from vcloarec/master
fix QgsColorRampShader assignment operator
This commit is contained in:
commit
40b102fcce
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user