[QGIS Commit] r11171 - branches/symbology-ng-branch/src/core/symbology-ng

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Jul 24 09:40:16 EDT 2009


Author: wonder
Date: 2009-07-24 09:40:15 -0400 (Fri, 24 Jul 2009)
New Revision: 11171

Modified:
   branches/symbology-ng-branch/src/core/symbology-ng/qgsstylev2.cpp
Log:
fixed saving of random color ramps.


Modified: branches/symbology-ng-branch/src/core/symbology-ng/qgsstylev2.cpp
===================================================================
--- branches/symbology-ng-branch/src/core/symbology-ng/qgsstylev2.cpp	2009-07-24 13:28:37 UTC (rev 11170)
+++ branches/symbology-ng-branch/src/core/symbology-ng/qgsstylev2.cpp	2009-07-24 13:40:15 UTC (rev 11171)
@@ -352,6 +352,8 @@
   
   if (rampType == "gradient")
     return QgsVectorGradientColorRampV2::create(props);
+  else if (rampType == "random")
+    return QgsVectorRandomColorRampV2::create(props);
   else
   {
     QgsDebugMsg("unknown colorramp type " + rampType);



More information about the QGIS-commit mailing list