diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2014-11-24 21:38:54 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2014-11-24 21:38:54 +0000 |
| commit | 5497de6e39d4fc31a6824eb9f9e638635de4521b (patch) | |
| tree | d1e5d867d3b9f618846bdfe65e147b23df8ed58a /src/extension/internal/grid.cpp | |
| parent | Fixing bend from clipboard to trunk 0.92 (diff) | |
| parent | Fix a bug in pen/cil modes triangle in/out (diff) | |
| download | inkscape-5497de6e39d4fc31a6824eb9f9e638635de4521b.tar.gz inkscape-5497de6e39d4fc31a6824eb9f9e638635de4521b.zip | |
update to trunk
(bzr r12588.1.37)
Diffstat (limited to 'src/extension/internal/grid.cpp')
| -rw-r--r-- | src/extension/internal/grid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/internal/grid.cpp b/src/extension/internal/grid.cpp index 0059bbec2..f4e0e5843 100644 --- a/src/extension/internal/grid.cpp +++ b/src/extension/internal/grid.cpp @@ -113,7 +113,7 @@ Grid::effect (Inkscape::Extension::Effect *module, Inkscape::UI::View::View *doc bounding_area = temprec; } - gdouble scale = Inkscape::Util::Quantity::convert(1, "px", (document->doc())->getDefaultUnit()); + gdouble scale = Inkscape::Util::Quantity::convert(1, "px", &document->doc()->getSVGUnit()); bounding_area *= Geom::Scale(scale); Geom::Point spacings( scale * module->get_param_float("xspacing"), scale * module->get_param_float("yspacing") ); |
