[QGIS Commit] r15672 - trunk/qgis/src/core/symbology-ng

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Apr 4 11:21:06 EDT 2011


Author: mhugent
Date: 2011-04-04 08:21:06 -0700 (Mon, 04 Apr 2011)
New Revision: 15672

Modified:
   trunk/qgis/src/core/symbology-ng/qgsfillsymbollayerv2.cpp
Log:
Fix for scaling of rotated svg pattern. Ticket #3700

Modified: trunk/qgis/src/core/symbology-ng/qgsfillsymbollayerv2.cpp
===================================================================
--- trunk/qgis/src/core/symbology-ng/qgsfillsymbollayerv2.cpp	2011-04-04 10:30:22 UTC (rev 15671)
+++ trunk/qgis/src/core/symbology-ng/qgsfillsymbollayerv2.cpp	2011-04-04 15:21:06 UTC (rev 15672)
@@ -262,7 +262,7 @@
   }
   else
   {
-    QTransform t;
+    QTransform t = mBrush.transform();
     t.rotate( mAngle );
     QBrush rotatedBrush = mBrush;
     rotatedBrush.setTransform( t );



More information about the QGIS-commit mailing list