diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-09-08 19:43:42 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-09-08 19:43:42 +0000 |
| commit | 8361587f222bbf3178fa3732607813b96bdf2909 (patch) | |
| tree | 114a3cc626a4f3921cc8d1ac6a85bb3319ebd72c /src | |
| parent | update version of seamless pattern extension (diff) | |
| download | inkscape-8361587f222bbf3178fa3732607813b96bdf2909.tar.gz inkscape-8361587f222bbf3178fa3732607813b96bdf2909.zip | |
Fix a bug in BSpline on straight lines when press a default width button
(bzr r14350)
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/lpe-bspline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-bspline.cpp b/src/live_effects/lpe-bspline.cpp index b77de5cb1..2b4a5c4a7 100644 --- a/src/live_effects/lpe-bspline.cpp +++ b/src/live_effects/lpe-bspline.cpp @@ -408,7 +408,7 @@ void LPEBSpline::doBSplineFromWidget(SPCurve *curve, double weight_ammount) point_at1 = in->first_segment()->initialPoint(); } if (isNodePointSelected(point_at3) || !only_selected) { - point_at2 = sbasis_in.valueAt(weight_ammount); + point_at2 = sbasis_in.valueAt(1 - weight_ammount); point_at2 = Geom::Point(point_at2[X] + HANDLE_CUBIC_GAP, point_at2[Y] + HANDLE_CUBIC_GAP); } else { |
