diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-10-04 01:32:26 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-10-04 01:32:26 +0000 |
| commit | 380f71793aba455f86eae2c75532b24dc613e71d (patch) | |
| tree | a516ab2c65aea18caba79f97664f28a157a4e5f8 /src/sp-item-notify-moveto.cpp | |
| parent | Allow one style entry per unique CSS style for each family. (diff) | |
| download | inkscape-380f71793aba455f86eae2c75532b24dc613e71d.tar.gz inkscape-380f71793aba455f86eae2c75532b24dc613e71d.zip | |
Refactor SPGuide to use more C++
(bzr r13341.1.241)
Diffstat (limited to 'src/sp-item-notify-moveto.cpp')
| -rw-r--r-- | src/sp-item-notify-moveto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-item-notify-moveto.cpp b/src/sp-item-notify-moveto.cpp index 90fd676ee..dcc91fd0b 100644 --- a/src/sp-item-notify-moveto.cpp +++ b/src/sp-item-notify-moveto.cpp @@ -22,7 +22,7 @@ void sp_item_notify_moveto(SPItem &item, SPGuide const &mv_g, int const snappoin { return_if_fail(SP_IS_ITEM(&item)); return_if_fail( unsigned(snappoint_ix) < 8 ); - Geom::Point const dir( mv_g.normal_to_line ); + Geom::Point const dir( mv_g.getNormal() ); double const dir_lensq(dot(dir, dir)); return_if_fail( dir_lensq != 0 ); |
