diff options
| author | MenTaLguY <mental@rydia.net> | 2006-05-09 03:52:58 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2006-05-09 03:52:58 +0000 |
| commit | 48e6b0819d64e02bd43c199c9afa12f26a485323 (patch) | |
| tree | 9e7ef9cdd55a75cf222d513f91317d87e02d090f /src/object-snapper.cpp | |
| parent | partial GTKmmfication and HIGification by Jonathon Jongsma (diff) | |
| download | inkscape-48e6b0819d64e02bd43c199c9afa12f26a485323.tar.gz inkscape-48e6b0819d64e02bd43c199c9afa12f26a485323.zip | |
eliminate direct accesses to SPCurve::bpath
(bzr r787)
Diffstat (limited to 'src/object-snapper.cpp')
| -rw-r--r-- | src/object-snapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object-snapper.cpp b/src/object-snapper.cpp index e7a975d01..9439fea8b 100644 --- a/src/object-snapper.cpp +++ b/src/object-snapper.cpp @@ -78,10 +78,10 @@ void Inkscape::ObjectSnapper::_snapNodes(Inkscape::SnappedPoint &s, int j = 0; NR::Matrix const i2doc = sp_item_i2doc_affine(*i); - while (sh->curve->bpath[j].code != NR_END) { + while (SP_CURVE_BPATH(sh->curve)[j].code != NR_END) { /* Get this node in desktop coordinates */ - NArtBpath const &bp = sh->curve->bpath[j]; + NArtBpath const &bp = SP_CURVE_BPATH(sh->curve)[j]; NR::Point const n = desktop->doc2dt(bp.c(3) * i2doc); /* Try to snap to this node of the path */ |
