Commit 8d6ff136 authored by Wolthera van Hövell's avatar Wolthera van Hövell 🐛

Rotate the result slightly so that it aligns to the vertical.

This feels a little more right.
parent f3c3b972
...@@ -166,6 +166,7 @@ void KisMultigridPatternGenerator::generate(KisProcessingInformation dstInfo, ...@@ -166,6 +166,7 @@ void KisMultigridPatternGenerator::generate(KisProcessingInformation dstInfo,
QTransform tf; QTransform tf;
tf.translate(bounds.center().x(), bounds.center().y()); tf.translate(bounds.center().x(), bounds.center().y());
tf.scale(scale, scale); tf.scale(scale, scale);
tf.rotateRadians((M_PI/dimensions)*.5);
KoColor c = grad->stops()[0].color; KoColor c = grad->stops()[0].color;
for (int i= 0; i < rhombs.size(); i++){ for (int i= 0; i < rhombs.size(); i++){
KisMultiGridRhomb rhomb = rhombs.at(i); KisMultiGridRhomb rhomb = rhombs.at(i);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment