summaryrefslogtreecommitdiffstats
path: root/src/dialogs
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2008-03-07 20:48:39 +0000
committertavmjong <tavmjong@users.sourceforge.net>2008-03-07 20:48:39 +0000
commit9c2647f21db9d23aada7bde0631a868a1a8614e1 (patch)
tree313c76a30f78a7576e89309ba71a8d17b2e6adb0 /src/dialogs
parentUpdate charclass.h/cpp to use complete Unicode character database (diff)
downloadinkscape-9c2647f21db9d23aada7bde0631a868a1a8614e1.tar.gz
inkscape-9c2647f21db9d23aada7bde0631a868a1a8614e1.zip
Really fix P6M Clone Tiler mode (case where w <= h).
(bzr r4985)
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/clonetiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/clonetiler.cpp b/src/dialogs/clonetiler.cpp
index 77725c525..621f1acfa 100644
--- a/src/dialogs/clonetiler.cpp
+++ b/src/dialogs/clonetiler.cpp
@@ -777,7 +777,7 @@ clonetiler_get_transform (
dia9 = dia6 * dia3.inverse();
dia10 = dia6 * dia4.inverse();
} else {
- ori = NR::Matrix(NR::translate (4*h * cos30 * pow((i/12 + 0.5*(j%2)), shiftx_exp) + dx, (2*h + 2*h * sin30) * pow(y, shifty_exp) + dy));
+ ori = NR::Matrix(NR::translate (4*h * cos30 * pow((i/12 + 0.5*(j%2)), shiftx_exp) + dx, (2*h + 2*h * sin30) * pow(j, shifty_exp) + dy));
dia1 = NR::Matrix (NR::translate (-w/2, -h/2) * NR::translate (h/2 * cos30, -h/2 * sin30) * NR::translate (w/2 * cos60, w/2 * sin60));
dia2 = dia1 * NR::Matrix (NR::translate (h * cos30, -h * sin30));
dia3 = dia2 * NR::Matrix (NR::translate (-w/2 * cos60, -w/2 * sin60) * NR::translate (h * cos30, 0) * NR::translate (-w/2 * cos60, w/2 * sin60));