Skip to content

Commit

Permalink
Set ambient to not transparent for measurement line.
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsunni authored and wonder-sk committed Aug 24, 2019
1 parent 8b84d42 commit f3bf686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/3d/qgs3dmaptoolmeasureline.cpp
Expand Up @@ -204,7 +204,7 @@ void Qgs3DMapToolMeasureLine::updateSettings()
int myRed = settings.value( QStringLiteral( "qgis/default_measure_color_red" ), 222 ).toInt();
int myGreen = settings.value( QStringLiteral( "qgis/default_measure_color_green" ), 155 ).toInt();
int myBlue = settings.value( QStringLiteral( "qgis/default_measure_color_blue" ), 67 ).toInt();
phongMaterial.setAmbient( QColor( myRed, myGreen, myBlue, 100 ) );
phongMaterial.setAmbient( QColor( myRed, myGreen, myBlue ) );
lineSymbol->setMaterial( phongMaterial );

// Set renderer
Expand Down

0 comments on commit f3bf686

Please sign in to comment.