Skip to content
Permalink
Browse files
Project file conversion for freakout shader
  • Loading branch information
mhugent committed Apr 14, 2012
1 parent 697a54c commit 5dd3edea1984240e9a02f85a9e5253f7ade85d90
Showing with 8 additions and 1 deletion.
  1. +8 −1 src/core/qgsprojectfiletransform.cpp
@@ -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 )

0 comments on commit 5dd3ede

Please sign in to comment.