summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2016-06-01 13:44:34 +0000
committertavmjong-free <tavmjong@free.fr>2016-06-01 13:44:34 +0000
commitbf8b0931734027a694f8fdf3f1386a605f1e3342 (patch)
tree857952aae981ffb3032c22e805845f307542c2ba /src
parentUse CSS 'strut' as minimum value of CSS line box height. (diff)
downloadinkscape-bf8b0931734027a694f8fdf3f1386a605f1e3342.tar.gz
inkscape-bf8b0931734027a694f8fdf3f1386a605f1e3342.zip
Fix tiling when generic template used to create file.
(bzr r14936)
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/clonetiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/clonetiler.cpp b/src/ui/dialog/clonetiler.cpp
index 9656878e0..1c5968493 100644
--- a/src/ui/dialog/clonetiler.cpp
+++ b/src/ui/dialog/clonetiler.cpp
@@ -2266,7 +2266,7 @@ void CloneTiler::clonetiler_apply(GtkWidget */*widget*/, GtkWidget *dlg)
clonetiler_remove (NULL, dlg, false);
- double scale_units = Inkscape::Util::Quantity::convert(1, "px", &desktop->getDocument()->getSVGUnit());
+ double scale_units = Inkscape::Util::Quantity::convert(1, "px", desktop->getDocument()->getDisplayUnit());
double shiftx_per_i = 0.01 * prefs->getDoubleLimited(prefs_path + "shiftx_per_i", 0, -10000, 10000);
double shifty_per_i = 0.01 * prefs->getDoubleLimited(prefs_path + "shifty_per_i", 0, -10000, 10000);