Skip to content

Commit

Permalink
Project file conversion for freakout shader
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Apr 14, 2012
1 parent 697a54c commit 5dd3ede
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/core/qgsprojectfiletransform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,14 @@ void QgsProjectFileTransform::transform1800to1900()
double breakSize = ( maxValue - minValue ) / 3;

QStringList colorList;
colorList << "#0000ff" << "#00ffff" << "#ffff00" << "#ff0000";
if ( colorShadingAlgorithm == "FreakOutShader" )
{
colorList << "#ff00ff" << "#00ffff" << "#ff0000" << "#00ff00";
}
else //pseudocolor
{
colorList << "#0000ff" << "#00ffff" << "#ffff00" << "#ff0000";
}
QStringList::const_iterator colorIt = colorList.constBegin();
double boundValue = minValue;
for ( ; colorIt != colorList.constEnd(); ++colorIt )
Expand Down

0 comments on commit 5dd3ede

Please sign in to comment.