diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-06-26 23:26:08 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-06-26 23:26:08 +0000 |
| commit | 92427c35649ab62091c229c3bf15276ce2f796e9 (patch) | |
| tree | ccfd7b3667fd24c955c1a9626dbc90285b3cfdfc /src | |
| parent | noop: be more consistent with function names (get_pathvector => set_pathvector) (diff) | |
| download | inkscape-92427c35649ab62091c229c3bf15276ce2f796e9.tar.gz inkscape-92427c35649ab62091c229c3bf15276ce2f796e9.zip | |
use spcurve methods instead of macro (which references to old nartbpath) to determine first and second nodal points
(bzr r6079)
Diffstat (limited to 'src')
| -rw-r--r-- | src/pencil-context.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp index 6af9f7956..3e0e793f6 100644 --- a/src/pencil-context.cpp +++ b/src/pencil-context.cpp @@ -571,8 +571,7 @@ static void spdc_finish_endpoint(SPPencilContext *const pc) { if ( ( SP_CURVE_LENGTH(pc->red_curve) != 2 ) - || ( SP_CURVE_SEGMENT(pc->red_curve, 0)->c(3) == - SP_CURVE_SEGMENT(pc->red_curve, 1)->c(3) ) ) + || ( pc->red_curve->first_point() == pc->red_curve->second_point() ) ) { pc->red_curve->reset(); sp_canvas_bpath_set_bpath(SP_CANVAS_BPATH(pc->red_bpath), NULL); |
