Skip to content
Permalink
Browse files
classify the QgsPointCloudAttributeByRampRenderer color ramp shader b…
…y default
  • Loading branch information
NEDJIMAbelgacem authored and wonder-sk committed Apr 8, 2021
1 parent b061162 commit 70f69c4526d4c53bad72af966fbd7a5a4d72b85f
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/pointcloud/qgspointcloudattributebyramprenderer.cpp
@@ -26,6 +26,7 @@
QgsPointCloudAttributeByRampRenderer::QgsPointCloudAttributeByRampRenderer()
{
mColorRampShader.setSourceColorRamp( QgsStyle::defaultStyle()->colorRamp( QStringLiteral( "Viridis" ) ) );
mColorRampShader.classifyColorRamp( 5, -1, QgsRectangle(), nullptr );
}

QString QgsPointCloudAttributeByRampRenderer::type() const

0 comments on commit 70f69c4

Please sign in to comment.